pub trait EndpointSigner {
// Required methods
fn endpoint(&self) -> EndpointIdentity;
fn sign_classical(&self, message: &[u8]) -> [u8; 64];
fn sign_post_quantum(&self, message: &[u8]) -> [u8; 3309];
}Expand description
An endpoint capable of producing both mandatory FCP signatures.
Required Methods§
Sourcefn endpoint(&self) -> EndpointIdentity
fn endpoint(&self) -> EndpointIdentity
Returns the complete identity used to address and authenticate envelopes.
Sourcefn sign_classical(&self, message: &[u8]) -> [u8; 64]
fn sign_classical(&self, message: &[u8]) -> [u8; 64]
Produces the canonical Ed25519 signature for the supplied transcript.
Sourcefn sign_post_quantum(&self, message: &[u8]) -> [u8; 3309]
fn sign_post_quantum(&self, message: &[u8]) -> [u8; 3309]
Produces the canonical ML-DSA-65 signature for the supplied transcript.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".