Skip to main content

PrivateKeyInfoOwned

Type Alias PrivateKeyInfoOwned 

Source
pub type PrivateKeyInfoOwned = PrivateKeyInfo<Any, OctetString, BitString>;
Expand description

PrivateKeyInfo with Any algorithm parameters, and Box<[u8]> key.

Aliased Type§

pub struct PrivateKeyInfoOwned {
    pub algorithm: AlgorithmIdentifier<Any>,
    pub private_key: OctetString,
    pub public_key: Option<BitString>,
}

Fields§

§algorithm: AlgorithmIdentifier<Any>

X.509 AlgorithmIdentifier for the private key type.

§private_key: OctetString

Private key data. Exact content format is different between algorithms.

§public_key: Option<BitString>

Public key data, optionally available if version is V2.