GMimePkcs7Context

## GMimePkcs7Context GMimePkcs7Context — PKCS7 crypto contexts |

## Synopsis

                        GMimePkcs7Context;
    GMimeCryptoContext * g_mime_pkcs7_context_new           (GMimePasswordRequestFunc request_passwd);
    gboolean            g_mime_pkcs7_context_get_always_trust
                                                            (GMimePkcs7Context *ctx);
    void                g_mime_pkcs7_context_set_always_trust
                                                            (GMimePkcs7Context *ctx,
                                                             gboolean always_trust);

## Object Hierarchy

      GObject
       +----GMimeCryptoContext
             +----GMimePkcs7Context

## Description

A GMimePkcs7Context is a GMimeCryptoContext that uses GnuPG to do all of the encryption and digital signatures.

## Details

### GMimePkcs7Context

    typedef struct _GMimePkcs7Context GMimePkcs7Context;

A PKCS7 crypto context.

### g_mime_pkcs7_context_new ()

    GMimeCryptoContext * g_mime_pkcs7_context_new           (GMimePasswordRequestFunc request_passwd);

Creates a new pkcs7 crypto context object.

`request_passwd` : | a GMimePasswordRequestFunc
Returns : | a new pkcs7 crypto context object.

### g_mime_pkcs7_context_get_always_trust ()

    gboolean            g_mime_pkcs7_context_get_always_trust
                                                            (GMimePkcs7Context *ctx);

Gets the `always_trust` flag on the pkcs7 context.

`ctx` : | a GMimePkcs7Context
Returns : | the `always_trust` flag on the pkcs7 context.

### g_mime_pkcs7_context_set_always_trust ()

    void                g_mime_pkcs7_context_set_always_trust
                                                            (GMimePkcs7Context *ctx,
                                                             gboolean always_trust);

Sets the `always_trust` flag on the pkcs7 context which is used for encryption.

`ctx` : | a GMimePkcs7Context
`always_trust` : | always trust flag

## See Also

GMimeCryptoContext