Skip to main content
This is unreleased documentation for the main (development) branch of crypto-glue.

DynSignatureAlgorithmIdentifier

Trait DynSignatureAlgorithmIdentifier 

Source
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§

Source

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,

Source§

impl<D> DynSignatureAlgorithmIdentifier for SigningKey<D>
where D: Digest + AssociatedOid,

Implementors§

Source§

impl<T> DynSignatureAlgorithmIdentifier for T

Available on crate feature alloc only.