Skip to main content

AssociatedAlgorithmIdentifier

Trait AssociatedAlgorithmIdentifier 

Source
pub trait AssociatedAlgorithmIdentifier {
    type Params: Tagged + EncodeValue;

    const ALGORITHM_IDENTIFIER: AlgorithmIdentifier<Self::Params>;
}
Expand description

Returns AlgorithmIdentifier associated with the structure.

This is useful for e.g. keys for digital signature algorithms.

Required Associated Constants§

Source

const ALGORITHM_IDENTIFIER: AlgorithmIdentifier<Self::Params>

AlgorithmIdentifier for this structure.

Required Associated Types§

Source

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 AssociatedAlgorithmIdentifier for Signature

Available on crate feature pkcs8 only.
Source§

const ALGORITHM_IDENTIFIER: AlgorithmIdentifier<AnyRef<'static>> = pkcs8::ALGORITHM_ID

Source§

type Params = AnyRef<'static>