gmime.decrypt_result
Module for [DecryptResult] class
Types 3
An object containing the results from decrypting an encrypted stream.
Methods
DecryptResult self()Returns `this`, for use in `with` statements.DecryptResultGidBuilder builder()Get builder for [gmime.decrypt_result.DecryptResult] Returns: New builder objectgmime.types.CipherAlgo getCipher()Get the cipher algorithm used. Returns: the cipher algorithm used.gmime.types.DigestAlgo getMdc()Get the mdc digest algorithm used. Returns: the mdc digest algorithm used.gmime.certificate_list.CertificateList getRecipients()Gets the list of certificates that the stream had been encrypted to. Returns: a #GMimeCertificateList.string getSessionKey()Get 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()Gets 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)Set the cipher algorithm used.void setMdc(gmime.types.DigestAlgo mdc)Set the mdc digest algorithm used.void setRecipients(gmime.certificate_list.CertificateList recipients)Sets the list of certificates that the stream had been encrypted to.void setSessionKey(string sessionKey = null)Set the session key to be returned by this decryption result.void setSignatures(gmime.signature_list.SignatureList signatures)Sets the list of signatures.Fluent builder for [gmime.decrypt_result.DecryptResult]
Methods