gmime.application_pkcs7_mime
Module for [ApplicationPkcs7Mime] class
Types 3
An application/pkcs7-mime MIME part.
Methods
ApplicationPkcs7MimeGidBuilder builder() static nothrowGet builder for [gmime.application_pkcs7_mime.ApplicationPkcs7Mime] Returns: New builder objectgmime.application_pkcs7_mime.ApplicationPkcs7Mime encrypt(gmime.object.ObjectWrap entity, gmime.types.EncryptFlags flags, string[] recipients) staticAttempts 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) staticAttempts 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() nothrowGets 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(gmime.types.SecureMimeType type)Creates a new application/pkcs7-mime object.Fluent builder implementation template for gmime.application_pkcs7_mime.ApplicationPkcs7Mime