SubjectPublicKeyInfoRef

Type Alias SubjectPublicKeyInfoRef 

Source
pub type SubjectPublicKeyInfoRef<'a> = SubjectPublicKeyInfo<AnyRef<'a>, BitStringRef<'a>>;
Expand description

SubjectPublicKeyInfo with AnyRef algorithm parameters, and BitStringRef params.

Aliased Type§

pub struct SubjectPublicKeyInfoRef<'a> {
    pub algorithm: AlgorithmIdentifier<AnyRef<'a>>,
    pub subject_public_key: BitStringRef<'a>,
}

Fields§

§algorithm: AlgorithmIdentifier<AnyRef<'a>>

X.509 AlgorithmIdentifier for the public key type

§subject_public_key: BitStringRef<'a>

Public key data

Trait Implementations§

Source§

impl<'a> RefToOwned<'a> for SubjectPublicKeyInfoRef<'a>

Available on crate feature alloc only.
Source§

type Owned = SubjectPublicKeyInfo<Any, BitString>

The resulting type after obtaining ownership.
Source§

fn ref_to_owned(&self) -> Self::Owned

Creates a new object taking ownership of the data

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 112 bytes