Creates a new application/pkcs7-mime object.
Attempts to decrypt the encrypted application/pkcs7-mime part.
Gets the smime-type value of the Content-Type header.
Returns this, for use in with statements.
Attempts to verify the signed pkcs7_mime part and extract the original MIME entity.
Get builder for gmime.application_pkcs7_mime.ApplicationPkcs7Mime
Attempts 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.
Attempts to sign the entity MIME part with userid's private key using S/MIME. If successful, a new application/pkcs7-mime object is returned.
Returns this, for use in with statements.
Get builder for gmime.part.Part
Creates a new MIME Part with a sepcified type.
Calculates the most efficient content encoding for the mime_part given the constraint.
Gets the internal data-wrapper of the specified mime part, or null on error.
Gets the value of the Content-Description for the specified mime part if it exists or null otherwise.
Gets the content encoding of the mime part.
Gets the content-id of the specified mime part if it exists, or null otherwise.
Gets the value of the Content-Location header if it exists, or null otherwise.
Gets the md5sum contained in the Content-Md5 header of the specified mime part if it exists, or null otherwise.
Gets the filename of the specificed mime part, or null if the mime_part does not have the filename or name parameter set.
Gets whether or not (and what type) of OpenPGP data is contained within the #GMimePart.
Determines whether or not the part is an attachment based on the value of the Content-Disposition header.
Decrypts the content of the mime_part and then replaces the content with the new, decrypted, content.
Encrypts (and optionally signs) the content of the mime_part and then replaces the content with the new, encrypted, content.
Signs the content of the mime_part and then replaces the content with the new, signed, content.
Verifies the OpenPGP signature of the mime_part and then replaces the content with the original, raw, content.
Sets the content on the mime part.
Set the content description for the specified mime part.
Set the content encoding for the specified mime part.
Set the content id for the specified mime part.
Set the content location for the specified mime part.
Set the content md5 for the specified mime part.
Sets the "filename" parameter on the Content-Disposition and also sets the "name" parameter on the Content-Type.
Sets whether or not (and what type) of OpenPGP data is contained within the #GMimePart.
Verify the content md5 for the specified mime part.
An application/pkcs7-mime MIME part.