gmime.application_pkcs7_mime

Module for [ApplicationPkcs7Mime] class

Types 3

An application/pkcs7-mime MIME part.

Methods
GType _gType() @property
ApplicationPkcs7Mime self()Returns `this`, for use in `with` statements.
ApplicationPkcs7MimeGidBuilder builder()Get builder for [gmime.applicationpkcs7mime.ApplicationPkcs7Mime] Returns: New builder object
gmime.application_pkcs7_mime.ApplicationPkcs7Mime encrypt(gmime.object.ObjectWrap entity, gmime.types.EncryptFlags flags, string[] recipients)Attempts to encrypt the entity MIME part to the public keys of recipients using S/MIME. If successful, a new application/pkcs7-mime object is returned.
gmime.application_pkcs7_mime.ApplicationPkcs7Mime sign(gmime.object.ObjectWrap entity, string userid)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.
gmime.object.ObjectWrap decrypt(gmime.types.DecryptFlags flags, string sessionKey, gmime.decrypt_result.DecryptResult result)Attempts to decrypt the encrypted application/pkcs7-mime part.
gmime.types.SecureMimeType getSmimeType()Gets the smime-type value of the Content-Type header. Returns: the smime-type value.
gmime.signature_list.SignatureList verify(gmime.types.VerifyFlags flags, out gmime.object.ObjectWrap entity)Attempts to verify the signed pkcs7_mime part and extract the original MIME entity.
Constructors
this(void * ptr, Flag!"Take" take)
this(gmime.types.SecureMimeType type)Creates a new application/pkcs7-mime object.

Fluent builder for [gmime.application_pkcs7_mime.ApplicationPkcs7Mime]