CamelGpgContext

CamelGpgContext

Synopsis

struct              CamelGpgContext;
CamelCipherContext * camel_gpg_context_new              (CamelSession *session);
gboolean            camel_gpg_context_get_always_trust  (CamelGpgContext *context);
void                camel_gpg_context_set_always_trust  (CamelGpgContext *context,
                                                         gboolean always_trust);
gboolean            camel_gpg_context_get_prefer_inline (CamelGpgContext *context);
void                camel_gpg_context_set_prefer_inline (CamelGpgContext *context,
                                                         gboolean prefer_inline);

Object Hierarchy

  GObject
   +----CamelCipherContext
         +----CamelGpgContext

Properties

  "always-trust"             gboolean              : Read / Write / Construct
  "prefer-inline"            gboolean              : Read / Write / Construct

Description

Details

struct CamelGpgContext

struct CamelGpgContext;

camel_gpg_context_new ()

CamelCipherContext * camel_gpg_context_new              (CamelSession *session);

Creates a new gpg cipher context object.

session :

session

Returns :

a new gpg cipher context object.

camel_gpg_context_get_always_trust ()

gboolean            camel_gpg_context_get_always_trust  (CamelGpgContext *context);

context :

a CamelGpgContext

Since 2.32


camel_gpg_context_set_always_trust ()

void                camel_gpg_context_set_always_trust  (CamelGpgContext *context,
                                                         gboolean always_trust);

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

context :

gpg context always_trust always truct flag

camel_gpg_context_get_prefer_inline ()

gboolean            camel_gpg_context_get_prefer_inline (CamelGpgContext *context);

context :

a CamelGpgContext

Returns :

Whether prefer inline sign/encrypt (TRUE), or as multiparts (FALSE)

Since 3.20


camel_gpg_context_set_prefer_inline ()

void                camel_gpg_context_set_prefer_inline (CamelGpgContext *context,
                                                         gboolean prefer_inline);

Sets the prefer_inline flag on the gpg context.

context :

gpg context

prefer_inline :

whether prefer inline sign/encrypt

Since 3.20

Property Details

The "always-trust" property

  "always-trust"             gboolean              : Read / Write / Construct

Default value: FALSE


The "prefer-inline" property

  "prefer-inline"            gboolean              : Read / Write / Construct

Default value: FALSE