|  |  |  | GMime 2.6 Reference Manual | |
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
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);
A GMimePkcs7Context is a GMimeCryptoContext that uses GnuPG to do all of the encryption and digital signatures.
GMimeCryptoContext * g_mime_pkcs7_context_new           (GMimePasswordRequestFunc request_passwd);
Creates a new pkcs7 crypto context object.
| 
 | a GMimePasswordRequestFunc | 
| Returns : | a new pkcs7 crypto context object. | 
gboolean            g_mime_pkcs7_context_get_always_trust
                                                        (GMimePkcs7Context *ctx);
Gets the always_trust flag on the pkcs7 context.
| 
 | a GMimePkcs7Context | 
| Returns : | the always_trustflag on the pkcs7 context. | 
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.
| 
 | a GMimePkcs7Context | 
| 
 | always trust flag |