Enums¶
Details¶
- class CryptUI.EncType(value)¶
Bases:
GLib.Enum
Used in key properties to indicate what kind of key it is
Never ever change a values already present. These values are used across applications, DBus etc…
- NONE = 0¶
the key is none of the below types
- SYMMETRIC = 1¶
the key’s type is symmetric
- PUBLIC = 2¶
the key’s type is public
- PRIVATE = 3¶
the key’s type is private
- MAXVALUE = 4¶
for internal use only
- class CryptUI.KeyChooserMode(value)¶
Bases:
GLib.Enum
- RECIPIENTS = 1¶
- MUSTSIGN = 16¶
- SIGNER = 2¶
- SUPPORT_SYMMETRIC = 4¶
- class CryptUI.KeyFlags(value)¶
Bases:
GLib.Enum
Used in key properties to indicate a key’s status. These values are logically OR’d together.
Never ever change a values already present. These values are used across applications, DBus etc…
- IS_VALID = 1¶
whether the key is valid
- DISABLED = 1024¶
whether the key is disabled
- EXPORTABLE = 1048576¶
whether the key is exportable
- CAN_ENCRYPT = 2¶
whether the key can encrypt
- EXPIRED = 256¶
whether the key is expired
- CAN_SIGN = 4¶
whether the key can sign
- TRUSTED = 4096¶
whether the key is trusted
- REVOKED = 512¶
whether the key is revoked
- class CryptUI.Location(value)¶
Bases:
GLib.Enum
Indicates where a key is located.
Never ever change a values already present. These values are used across applications, DBus etc…
- INVALID = 0¶
An invalid key
- MISSING = 10¶
A key we don’t know anything about
- LOCAL = 100¶
A key on the local machine
- SEARCHING = 20¶
A key we’re searching for but haven’t found yet
- REMOTE = 50¶
A key that we’ve found is present remotely
- class CryptUI.Validity(value)¶
Bases:
GLib.Enum
What the validity of the key is.
Never ever change a values already present. These values are used across applications, DBus etc…
- NEVER = -1¶
the key has never been valid
- DISABLED = -2¶
the key is disabled
- REVOKED = -3¶
the key is revoked
- UNKNOWN = 0¶
the key’s validity is unknown
- MARGINAL = 1¶
the key’s validity is marginal
- ULTIMATE = 10¶
the key’s validity is ultimate
- FULL = 5¶
the key’s validity is full