Type Alias spki::SubjectPublicKeyInfoRef

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

SubjectPublicKeyInfo with AnyRef algorithm parameters, and BitStringRef params.

Aliased Type§

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.
§

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