pub trait EcdsaKey {
type Signature: Signature;
type Error;
// Required method
fn sign(
&self,
secure_random: &dyn SecureRandom,
bytes: &[u8]
) -> Result<Self::Signature, Self::Error>;
}
Available on crate feature
ring
only.Expand description
An ECDSA
key.