Type Alias spki::AlgorithmIdentifierOwned
source · pub type AlgorithmIdentifierOwned = AlgorithmIdentifier<Any>;
Expand description
AlgorithmIdentifier
reference which has Any
parameters.
Aliased Type§
struct AlgorithmIdentifierOwned {
pub oid: ObjectIdentifier,
pub parameters: Option<Any>,
}
Fields§
§oid: ObjectIdentifier
Algorithm OID, i.e. the algorithm
field in the AlgorithmIdentifier
ASN.1 schema.
parameters: Option<Any>
Algorithm parameters
.
Trait Implementations§
source§impl OwnedToRef for AlgorithmIdentifierOwned
impl OwnedToRef for AlgorithmIdentifierOwned
§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