pub trait SigningAlgorithm: AsymmetricKeywhere
    Self::PubAlg: VerificationAlgorithm,{
    // Required method
    fn sign(
        key: &Self::Secret,
        msg: &[u8]
    ) -> <Self::PubAlg as VerificationAlgorithm>::Signature;
}

Required Methods§

source

fn sign( key: &Self::Secret, msg: &[u8] ) -> <Self::PubAlg as VerificationAlgorithm>::Signature

Implementors§