[][src]Struct p12::EncryptedContentInfo

pub struct EncryptedContentInfo {
    pub content_encryption_algorithm: AlgorithmIdentifier,
    pub encrypted_content: Vec<u8>,
}

Fields

content_encryption_algorithm: AlgorithmIdentifierencrypted_content: Vec<u8>

Implementations

impl EncryptedContentInfo[src]

pub fn parse(r: BERReader<'_, '_>) -> Result<Self, ASN1Error>[src]

pub fn data(&self, password: &[u8]) -> Option<Vec<u8>>[src]

pub fn write(&self, w: DERWriter<'_>)[src]

pub fn to_der(&self) -> Vec<u8>[src]

pub fn from_safe_bags(
    safe_bags: &[SafeBag],
    password: &[u8]
) -> Option<EncryptedContentInfo>
[src]

Trait Implementations

impl Clone for EncryptedContentInfo[src]

impl Debug for EncryptedContentInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.