pub trait CapsuleEd25519Signer {
// Required methods
fn verifying_key(&self) -> VerifyingKey;
fn sign_detached(&self, tbs: &[u8]) -> Result<[u8; 64]>;
}Expand description
An Ed25519 capsule signer whose secret half may live outside the process.
The deployment-authority ceremony keeps its classical leg in a YubiKey PIV
slot, so the inner EdDSA layer cannot be produced from an in-process
[SigningKey]. Implementors sign the inner COSE layer’s detached
to-be-signed bytes out-of-band and return the raw 64-byte signature; the
ML-DSA-65 leg is still an in-process key, so GATE 2 (hybrid PINNED) is
unchanged — this trait only relocates the classical half.
Required Methods§
Sourcefn verifying_key(&self) -> VerifyingKey
fn verifying_key(&self) -> VerifyingKey
The public half the capsule publishes as its subject key.