gmime-gpg-context

gmime-gpg-context —

Synopsis




            GMimeGpgContext;
GMimeCipherContext* g_mime_gpg_context_new  (GMimeSession *session,
                                             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);


Object Hierarchy


  GObject
   +----GMimeCipherContext
         +----GMimeGpgContext

Description

Details

GMimeGpgContext

typedef struct _GMimeGpgContext GMimeGpgContext;


g_mime_gpg_context_new ()

GMimeCipherContext* g_mime_gpg_context_new  (GMimeSession *session,
                                             const char *path);

Creates a new gpg cipher context object.

session : session
path : path to gpg binary
Returns : a new gpg cipher context object.

g_mime_gpg_context_get_always_trust ()

gboolean    g_mime_gpg_context_get_always_trust
                                            (GMimeGpgContext *ctx);

Gets the always_trust flag on the gpg context.

ctx : gpg context
Returns : the always_trust flag on the gpg context.

g_mime_gpg_context_set_always_trust ()

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.

ctx : gpg context
always_trust : always truct flag