Flags¶
Details¶
- class GMime.DecryptFlags(value)¶
Bases:
GLib.Flags
Decryption flags.
- NONE = 0¶
No flags specified.
- EXPORT_SESSION_KEY = 1¶
Export the decryption session-key.
- NO_VERIFY = 2¶
Disable signature verification.
- ENABLE_KEYSERVER_LOOKUPS = 32768¶
Enable OpenPGP keyserver lookups.
- ENABLE_ONLINE_CERTIFICATE_CHECKS = 32768¶
Enable CRL and OCSP checks that require network lookups.
- class GMime.EncryptFlags(value)¶
Bases:
GLib.Flags
Encryption flags.
- NONE = 0¶
No flags specified.
- ALWAYS_TRUST = 1¶
Always trust the specified keys.
- NO_COMPRESS = 16¶
Don’t compress the plaintext before encrypting.
- SYMMETRIC = 32¶
Encrypt symmetrically.
- THROW_KEYIDS = 64¶
Do not include the key ids in the ciphertext.
- class GMime.FilterBestFlags(value)¶
Bases:
GLib.Flags
Bit flags to enable charset and/or encoding scanning to make educated guesses as to what the best charset and/or encodings to use for the content passed through the filter.
- CHARSET = 1¶
Enable best-charset detection.
- ENCODING = 2¶
Enable best-encoding detection.
- class GMime.OpenPGPState(value)¶
Bases:
GLib.Flags
The current state of the
GMime.FilterOpenPGP
filter.New in version 3.2.
- NONE = 0¶
No OpenPGP markers have been found (yet).
- BEGIN_PGP_MESSAGE = 1¶
The “—–BEGIN PGP MESSAGE—–” marker has been found.
- BEGIN_PGP_SIGNATURE = 12¶
The “—–BEGIN PGP SIGNATURE—–” marker has been found.
- BEGIN_PGP_PRIVATE_KEY_BLOCK = 128¶
The “—–BEGIN PGP PRIVATE KEY BLOCK—–” marker has been found.
- END_PGP_SIGNATURE = 28¶
The “—–END PGP SIGNATURE—–” marker has been found.
- END_PGP_MESSAGE = 3¶
The “—–END PGP MESSAGE—–” marker has been found.
- BEGIN_PGP_PUBLIC_KEY_BLOCK = 32¶
The “—–BEGIN PGP PUBLIC KEY BLOCK—–” marker has been found.
- END_PGP_PRIVATE_KEY_BLOCK = 384¶
The “—–END PGP PRIVATE KEY BLOCK—–” marker has been found.
- BEGIN_PGP_SIGNED_MESSAGE = 4¶
The “—–BEGIN PGP SIGNED MESSAGE—–” marker has been found.
- END_PGP_PUBLIC_KEY_BLOCK = 96¶
The “—–END PGP PUBLIC KEY BLOCK—–” marker has been found.
- class GMime.VerifyFlags(value)¶
Bases:
GLib.Flags
Signature verification flags.
- NONE = 0¶
No flags specified.
- ENABLE_KEYSERVER_LOOKUPS = 32768¶
Enable OpenPGP keyserver lookups.
- ENABLE_ONLINE_CERTIFICATE_CHECKS = 32768¶
Enable CRL and OCSP checks that require network lookups.