pub fn algorithm(&self) -> Algorithm {
        match self {
            Signature::Ed25519(_) => Algorithm::Ed25519,
            #[cfg(feature = "secp256k1")]
            Signature::Secp256k1(_) => Algorithm::EcdsaSecp256k1,
            Signature::None => Algorithm::Ed25519
        }
    }
/// Return the algorithm used to create this particular signature
Return the algorithm used to create this particular signature
Return the algorithm used to create this particular signature
pub fn algorithm(&self) -> Algorithm {
        match self {
            Signature::Ed25519(_) => Algorithm::Ed25519,
            #[cfg(feature = "secp256k1")]
            Signature::Secp256k1(_) => Algorithm::EcdsaSecp256k1,
            Signature::None => Algorithm::Ed25519
        }
    }
pub fn algorithm ( & self ) -> Algorithm { match self { Signature :: Ed25519 ( _ ) => Algorithm :: Ed25519 , # [ cfg ( feature " " ) ] Signature :: Secp256k1 ( _ ) => Algorithm :: EcdsaSecp256k1 , Signature :: None => Algorithm :: Ed25519 } }
Return the algorithm used to create this particular signature
Return the algorithm used to create this particular signature
&self
&self