Struct gmime::ApplicationPkcs7Mime[]

pub struct ApplicationPkcs7Mime(_, _);

An application/pkcs7-mime MIME part.

Implements

ApplicationPkcs7MimeExt, PartExt, ObjectExt

Methods

impl ApplicationPkcs7Mime
[src]

Creates a new application/pkcs7-mime object.

type_

The type of S/MIME data contained within the part.

Returns

an empty application/pkcs7-mime object.

Attempts to sign the entity MIME part with userid's private key using S/MIME. If successful, a new application/pkcs7-mime object is returned.

entity

a Object

userid

the user id to sign with

Returns

a new ApplicationPkcs7Mime object on success or None on fail. If signing fails, an exception will be set on err to provide information as to why the failure occurred.

Trait Implementations

impl Clone for ApplicationPkcs7Mime

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ApplicationPkcs7Mime

Formats the value using the given formatter. Read more

impl Hash for ApplicationPkcs7Mime

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl StaticType for ApplicationPkcs7Mime

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for ApplicationPkcs7Mime

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ApplicationPkcs7Mime

impl IsA<Part> for ApplicationPkcs7Mime

impl IsA<Object> for ApplicationPkcs7Mime

impl IsA<Object> for ApplicationPkcs7Mime

Auto Trait Implementations

impl !Send for ApplicationPkcs7Mime

impl !Sync for ApplicationPkcs7Mime