Struct openssl::cms::CmsContentInfo []

pub struct CmsContentInfo(_);

High level CMS wrapper

CMS supports nesting various types of data, including signatures, certificates, encrypted data, smime messages (encrypted email), and data digest. The ContentInfo content type is the encapsulation of all those content types. RFC 5652 describes CMS and OpenSSL follows this RFC's implmentation.

Methods

impl CmsContentInfo
[src]

[src]

Parses a smime formatted vec of bytes into a CmsContentInfo.

OpenSSL documentation at SMIME_read_CMS

Methods from Deref<Target = CmsContentInfoRef>

[src]

Given the sender's private key, pkey and the recipient's certificiate, cert, decrypt the data in self.

OpenSSL documentation at CMS_decrypt

Trait Implementations

impl ForeignType for CmsContentInfo

The raw C type.

The type representing a reference to this type.

Constructs an instance of this type from its raw type.

Returns a raw pointer to the wrapped value.

impl Drop for CmsContentInfo

Executes the destructor for this type. Read more

impl Deref for CmsContentInfo

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for CmsContentInfo

Mutably dereferences the value.

impl Borrow<CmsContentInfoRef> for CmsContentInfo

Immutably borrows from an owned value. Read more

impl AsRef<CmsContentInfoRef> for CmsContentInfo

Performs the conversion.

impl Send for CmsContentInfo
[src]

impl Sync for CmsContentInfo
[src]