gmime.multipart_encrypted

Module for [MultipartEncrypted] class

Types 3

A multipart/encrypted MIME part.

Methods
GType _gType() @property
MultipartEncrypted self()Returns `this`, for use in `with` statements.
MultipartEncryptedGidBuilder builder()Get builder for [gmime.multipart_encrypted.MultipartEncrypted] Returns: New builder object
gmime.multipart_encrypted.MultipartEncrypted encrypt(gmime.crypto_context.CryptoContext ctx, gmime.object.ObjectWrap entity, bool sign, string userid, gmime.types.EncryptFlags flags, string[] recipients)Attempts to encrypt (and conditionally sign) the entity MIME part to the public keys of recipients using the ctx encryption context. If successful, a new multipart/encrypted object is returned.
gmime.object.ObjectWrap decrypt(gmime.types.DecryptFlags flags, string sessionKey, out gmime.decrypt_result.DecryptResult result)Attempts to decrypt the encrypted MIME part contained within the multipart/encrypted object encrypted.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new MIME multipart/encrypted object. Returns: an empty MIME multipart/encrypted object.

Fluent builder for [gmime.multipart_encrypted.MultipartEncrypted]