pub trait EcSign: EcSk {
type Sig: EcSig<Pk = Self::Pk>;
// Required method
fn sign(&self, msg: impl AsRef<[u8]>) -> Self::Sig;
// Provided method
fn cert(&self) -> Result<Cert<Self::Sig>, EcSkInvalid> { ... }
}
Expand description
Signature scheme trait
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.