![]() |
![]() |
![]() |
GMime 2.6 Reference Manual | |
---|---|---|---|---|
Top | Description | Object Hierarchy |
GMimeGpgContext; GMimeCipherContext * g_mime_gpg_context_new (GMimePasswordRequestFunc request_passwd, const char *path); gboolean g_mime_gpg_context_get_always_trust (GMimeGpgContext *ctx); void g_mime_gpg_context_set_always_trust (GMimeGpgContext *ctx, gboolean always_trust); gboolean g_mime_gpg_context_get_auto_key_retrieve (GMimeGpgContext *ctx); void g_mime_gpg_context_set_auto_key_retrieve (GMimeGpgContext *ctx, gboolean auto_key_retrieve);
A GMimeGpgContext is a GMimeCipherContext that uses GnuPG to do all of the encryption and digital signatures.
GMimeCipherContext * g_mime_gpg_context_new (GMimePasswordRequestFunc request_passwd, const char *path);
Creates a new gpg cipher context object.
|
a GMimePasswordRequestFunc |
|
path to gpg binary |
Returns : |
a new gpg cipher context object. |
gboolean g_mime_gpg_context_get_always_trust (GMimeGpgContext *ctx);
Gets the always_trust
flag on the gpg context.
|
a GMimeGpgContext |
Returns : |
the always_trust flag on the gpg context.
|
void g_mime_gpg_context_set_always_trust (GMimeGpgContext *ctx, gboolean always_trust);
Sets the always_trust
flag on the gpg context which is used for
encryption.
|
a GMimeGpgContext |
|
always trust flag |
gboolean g_mime_gpg_context_get_auto_key_retrieve (GMimeGpgContext *ctx);
Gets the auto_key_retrieve
flag on the gpg context.
|
a GMimeGpgContext |
Returns : |
the auto_key_retrieve flag on the gpg context.
|
void g_mime_gpg_context_set_auto_key_retrieve (GMimeGpgContext *ctx, gboolean auto_key_retrieve);
Sets the auto_key_retrieve
flag on the gpg context which is used
for signature verification.
|
a GMimeGpgContext |
|
auto-retrieve keys from a keys server |