pub type AlgorithmIdentifierOwned = AlgorithmIdentifier<Any>;Expand description
AlgorithmIdentifier reference which has Any parameters.
Aliased Type§
pub struct AlgorithmIdentifierOwned {
pub oid: ObjectIdentifier<39>,
pub parameters: Option<Any>,
}Fields§
§oid: ObjectIdentifier<39>Algorithm OID, i.e. the algorithm field in the AlgorithmIdentifier
ASN.1 schema.
parameters: Option<Any>Algorithm parameters.
Trait Implementations§
Source§impl AsAlgorithmIdentifierRef for AlgorithmIdentifierOwned
impl AsAlgorithmIdentifierRef for AlgorithmIdentifierOwned
Source§fn as_algo_ref<'a>(&'a self) -> AlgorithmIdentifierRef<'a>
fn as_algo_ref<'a>(&'a self) -> AlgorithmIdentifierRef<'a>
Borrow the owned or ref
AlgorithmIdentifier as AlgorithmIdentifierRef.Source§impl<'a> From<AlgorithmIdentifier<AnyRef<'a>>> for AlgorithmIdentifierOwned
impl<'a> From<AlgorithmIdentifier<AnyRef<'a>>> for AlgorithmIdentifierOwned
Source§fn from(value: AlgorithmIdentifierRef<'_>) -> Self
fn from(value: AlgorithmIdentifierRef<'_>) -> Self
Converts to this type from the input type.
Source§impl OwnedToRef for AlgorithmIdentifierOwned
impl OwnedToRef for AlgorithmIdentifierOwned
Source§type Borrowed<'a> = AlgorithmIdentifier<AnyRef<'a>>
type Borrowed<'a> = AlgorithmIdentifier<AnyRef<'a>>
The resulting type referencing back to Self
Source§fn owned_to_ref(&self) -> Self::Borrowed<'_>
fn owned_to_ref(&self) -> Self::Borrowed<'_>
Creates a new object referencing back to the self for storage