gmime.decrypt_result

Module for [DecryptResult] class

Types 3

An object containing the results from decrypting an encrypted stream.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
DecryptResult self() nothrowReturns `this`, for use in `with` statements.
DecryptResultGidBuilder builder() static nothrowGet builder for [gmime.decrypt_result.DecryptResult] Returns: New builder object
gmime.types.CipherAlgo getCipher() nothrowGet the cipher algorithm used. Returns: the cipher algorithm used.
gmime.types.DigestAlgo getMdc() nothrowGet the mdc digest algorithm used. Returns: the mdc digest algorithm used.
gmime.certificate_list.CertificateList getRecipients() nothrowGets the list of certificates that the stream had been encrypted to. Returns: a #GMimeCertificateList.
string getSessionKey() nothrowGet the session key used for this decryption. Returns: the session key digest algorithm used, or null if no session key was requested or found.
gmime.signature_list.SignatureList getSignatures() nothrowGets a list of signatures if the encrypted stream had also been signed. Returns: a #GMimeSignatureList or null if the stream was not signed.
void setCipher(gmime.types.CipherAlgo cipher) nothrowSet the cipher algorithm used.
void setMdc(gmime.types.DigestAlgo mdc) nothrowSet the mdc digest algorithm used.
void setRecipients(gmime.certificate_list.CertificateList recipients) nothrowSets the list of certificates that the stream had been encrypted to.
void setSessionKey(string sessionKey = null) nothrowSet the session key to be returned by this decryption result.
void setSignatures(gmime.signature_list.SignatureList signatures) nothrowSets the list of signatures.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GMimeDecryptResult object. Returns: a new #GMimeDecryptResult object.
Methods
DecryptResult build() nothrowCreate object from builder. Returns: New object