SourceOpenPGP
Object Hierarchy:
Description:
[ CCode ( lower_case_csuffix = "source_openpgp" , type_id = "e_source_openpgp_get_type ()" ) ]
[ Version ( since = "3.6" ) ]
public class SourceOpenPGP : SourceExtension
[ Version ( since = "3.6" ) ]
public class SourceOpenPGP : SourceExtension
Contains only private data that should be read and manipulated using the functions below.
Namespace: E
Package: libedataserver-1.2
Content:
Properties:
- public bool always_trust { get; set construct; }
- public bool encrypt_by_default { get; set construct; }
- public bool encrypt_to_self { get; set construct; }
- public string key_id { get; set construct; }
- public bool locate_keys { get; set construct; }
- public bool prefer_inline { get; set construct; }
- public bool send_prefer_encrypt { get; set construct; }
- public bool send_public_key { get; set construct; }
- public bool sign_by_default { get; set construct; }
- public string signing_algorithm { get; set construct; }
Creation methods:
- protected SourceOpenPGP ()
Methods:
- public string dup_key_id ()
Thread-safe variation of get_key_id.
- public string dup_signing_algorithm ()
Thread-safe variation of get_signing_algorithm.
- public bool get_always_trust ()
Returns whether to skip key validation and assume that used keys are always fully trusted.
- public bool get_encrypt_by_default ()
Returns whether to digitally encrypt outgoing messages by default using OpenPGP-compliant software such as GNU Privacy Guard (GnuPG).
- public bool get_encrypt_to_self ()
Returns whether to "encrypt-to-self" when sending encrypted messages.
- public unowned string get_key_id ()
Returns the OpenPGP key ID used to sign and encrypt messages.
- public bool get_locate_keys ()
Returns, whether gpg can locate keys using Web Key Directory (WKD) lookup when encrypting messages.
- public bool get_prefer_inline ()
Returns whether to prefer inline sign/encrypt of the text/plain messages.
- public bool get_send_prefer_encrypt ()
Returns, whether should claim the encryption is preferred when sending public key in messages.
- public bool get_send_public_key ()
Returns, whether should send GPG public key in messages.
- public bool get_sign_by_default ()
Returns whether to digitally sign outgoing messages by default using OpenPGP-compliant software such as GNU Privacy Guard (GnuPG).
- public unowned string get_signing_algorithm ()
Returns the name of the hash algorithm used to digitally sign outgoing messages.
- public void set_always_trust (bool always_trust)
Sets whether to skip key validation and assume that used keys are always fully trusted.
- public void set_encrypt_by_default (bool encrypt_by_default)
Sets whether to digitally encrypt outgoing messages by default using OpenPGP-compliant software such as GNU Privacy Guard (GnuPG).
- public void set_encrypt_to_self (bool encrypt_to_self)
Sets whether to "encrypt-to-self" when sending encrypted messages.
- public void set_key_id (string key_id)
Sets the OpenPGP key ID used to sign and encrypt messages.
- public void set_locate_keys (bool locate_keys)
Sets the
locate_keys
on the this , which is used to instruct gpg to locate keys using Web Key Directory (WKD) lookup when encrypting messages. - public void set_prefer_inline (bool prefer_inline)
Sets whether to prefer inline sign/encrypt of the text/plain messages.
- public void set_send_prefer_encrypt (bool send_prefer_encrypt)
Sets the
send_prefer_encrypt
on the this, which tells the client to claim the user prefer encryption when also sending its public key in the messages (e_source_openpgp_set_send_public_key()). - public void set_send_public_key (bool send_public_key)
Sets the
send_public_key
on the this , which tells the client to include user's public key in the messages in an Autocrypt header. - public void set_sign_by_default (bool sign_by_default)
Sets whether to digitally sign outgoing messages by default using OpenPGP-compliant software such as GNU Privacy Guard (GnuPG).
- public void set_signing_algorithm (string signing_algorithm)
Sets the name of the hash algorithm used to digitally sign outgoing messages.
Inherited Members:
All known members inherited from class E.SourceExtension
All known members inherited from class GLib.Object