pub trait SignatureAlgorithmIdentifier {
type Params: Tagged + EncodeValue;
const SIGNATURE_ALGORITHM_IDENTIFIER: AlgorithmIdentifier<Self::Params>;
}Expand description
Returns AlgorithmIdentifier associated with the signature system.
Unlike AssociatedAlgorithmIdentifier this is intended to be implemented for public and/or
private keys.
Required Associated Constants§
Sourceconst SIGNATURE_ALGORITHM_IDENTIFIER: AlgorithmIdentifier<Self::Params>
const SIGNATURE_ALGORITHM_IDENTIFIER: AlgorithmIdentifier<Self::Params>
AlgorithmIdentifier for the corresponding signature system.
Required Associated Types§
Sourcetype Params: Tagged + EncodeValue
type Params: Tagged + EncodeValue
Algorithm parameters.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
Source§impl SignatureAlgorithmIdentifier for SigningKey
Available on crate feature pkcs8 only.
impl SignatureAlgorithmIdentifier for SigningKey
Available on crate feature
pkcs8 only.const SIGNATURE_ALGORITHM_IDENTIFIER: AlgorithmIdentifier<Self::Params> = <Signature as pkcs8::spki::AssociatedAlgorithmIdentifier>::ALGORITHM_IDENTIFIER
type Params = AnyRef<'static>
Source§impl SignatureAlgorithmIdentifier for VerifyingKey
Available on crate feature pkcs8 only.
impl SignatureAlgorithmIdentifier for VerifyingKey
Available on crate feature
pkcs8 only.