pub trait DynSignatureAlgorithmIdentifier {
// Required method
fn signature_algorithm_identifier(
&self,
) -> Result<AlgorithmIdentifier<Any>, Error>;
}Expand description
Returns AlgorithmIdentifier associated with the signature system.
Unlike AssociatedAlgorithmIdentifier this is intended to be implemented for public and/or private keys.
Required Methods§
Sourcefn signature_algorithm_identifier(
&self,
) -> Result<AlgorithmIdentifier<Any>, Error>
fn signature_algorithm_identifier( &self, ) -> Result<AlgorithmIdentifier<Any>, Error>
AlgorithmIdentifier for the corresponding singature system.
Implementations on Foreign Types§
Source§impl<D> DynSignatureAlgorithmIdentifier for BlindedSigningKey<D>where
D: Digest + AssociatedOid,
impl<D> DynSignatureAlgorithmIdentifier for BlindedSigningKey<D>where
D: Digest + AssociatedOid,
fn signature_algorithm_identifier( &self, ) -> Result<AlgorithmIdentifier<Any>, Error>
Source§impl<D> DynSignatureAlgorithmIdentifier for SigningKey<D>where
D: Digest + AssociatedOid,
impl<D> DynSignatureAlgorithmIdentifier for SigningKey<D>where
D: Digest + AssociatedOid,
fn signature_algorithm_identifier( &self, ) -> Result<AlgorithmIdentifier<Any>, Error>
Implementors§
impl<T> DynSignatureAlgorithmIdentifier for Twhere
T: SignatureAlgorithmIdentifier,
Available on crate feature
alloc only.