gmime.multipart_encrypted
Module for [MultipartEncrypted] class
Types 3
A multipart/encrypted MIME part.
Methods
MultipartEncrypted self()Returns `this`, for use in `with` statements.MultipartEncryptedGidBuilder builder()Get builder for [gmime.multipart_encrypted.MultipartEncrypted] Returns: New builder objectgmime.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.Fluent builder for [gmime.multipart_encrypted.MultipartEncrypted]
Methods