Camel.GpgContext

g Camel.CipherContext Camel.CipherContext Camel.GpgContext Camel.GpgContext Camel.CipherContext->Camel.GpgContext GObject.Object GObject.Object GObject.Object->Camel.CipherContext

Subclasses:None

Methods

Inherited:Camel.CipherContext (16), GObject.Object (37)
Structs:GObject.ObjectClass (5)
class new (session)
  get_always_trust ()
  get_prefer_inline ()
  set_always_trust (always_trust)
  set_prefer_inline (prefer_inline)

Virtual Methods

Inherited:Camel.CipherContext (6), GObject.Object (7)

Properties

Inherited:Camel.CipherContext (1)
Name Type Flags Short Description
always-trust bool r/w/c/en  
prefer-inline bool r/w/c/en  

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent Camel.CipherContext r  

Class Details

class Camel.GpgContext(**kwargs)
Bases:Camel.CipherContext
Abstract:No
Structure:Camel.GpgContextClass
classmethod new(session)
Parameters:session (Camel.Session) – session
Returns:a new gpg cipher context object.
Return type:Camel.CipherContext

Creates a new gpg cipher context object.

get_always_trust()
Return type:bool

New in version 2.32.

get_prefer_inline()
Returns:Whether prefer inline sign/encrypt (True), or as multiparts (False)
Return type:bool

New in version 3.20.

set_always_trust(always_trust)
Parameters:always_trust (bool) – always trust flag

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

set_prefer_inline(prefer_inline)
Parameters:prefer_inline (bool) – whether prefer inline sign/encrypt

Sets the prefer_inline flag on the gpg context.

New in version 3.20.

Property Details

Camel.GpgContext.props.always_trust
Name:always-trust
Type:bool
Default Value:False
Flags:READABLE, WRITABLE, CONSTRUCT, EXPLICIT_NOTIFY
Camel.GpgContext.props.prefer_inline
Name:prefer-inline
Type:bool
Default Value:False
Flags:READABLE, WRITABLE, CONSTRUCT, EXPLICIT_NOTIFY