| Top |
A GMimeMultipartSigned part is a special subclass of GMimeMultipart to make it easier to manipulate the multipart/signed MIME type.
GMimeMultipartSigned *
g_mime_multipart_signed_new (void);
Creates a new MIME multipart/signed object.
GMimeMultipartSigned * g_mime_multipart_signed_sign (gpgme_ctx_t ctx,GMimeEntity *entity,gpgme_sign_result_t *result,GError **err);
Signs entity
using the context's configured signers. Prepares the input
entity's transfer encodings for signing and returns a new multipart/signed
object. Temporarily selects MIME armor/text settings, restoring them on
success and failure. See the GPGME integration ownership contract.
[skip]
a new GMimeMultipartSigned object on success
or NULL on fail. If signing fails, an exception will be set on err
to provide
information as to why the failure occurred.
gboolean g_mime_multipart_signed_verify (GMimeMultipartSigned *mps,gpgme_ctx_t ctx,gpgme_verify_result_t *result,GError **err);
Attempts to verify the signed MIME part contained within the
multipart/signed object mps
. Only surrounding ASCII linear whitespace
is removed from the protocol parameter.
[skip]