kgpg
|
enum | KgpgItemTypeFlag {
ITYPE_GROUP = 1,
ITYPE_SECRET = 2,
ITYPE_PUBLIC = 4,
ITYPE_PAIR = ITYPE_SECRET | ITYPE_PUBLIC,
ITYPE_GSECRET = ITYPE_GROUP | ITYPE_SECRET,
ITYPE_GPUBLIC = ITYPE_GROUP | ITYPE_PUBLIC,
ITYPE_GPAIR = ITYPE_GROUP | ITYPE_PAIR,
ITYPE_SUB = 8,
ITYPE_UID = 16,
ITYPE_UAT = 32,
ITYPE_REVSIGN = 64,
ITYPE_SIGN = 128
} |
|
enum | KgpgKeyAlgoFlag {
ALGO_UNKNOWN = 0,
ALGO_RSA = 1,
ALGO_DSA = 2,
ALGO_ELGAMAL = 4,
ALGO_DSA_ELGAMAL = ALGO_DSA | ALGO_ELGAMAL,
ALGO_RSA_RSA = 0x10001
} |
|
enum | KgpgKeyOwnerTrustFlag {
OWTRUST_UNKNOWN = 0,
OWTRUST_UNDEFINED = 1,
OWTRUST_NONE = 2,
OWTRUST_MARGINAL = 3,
OWTRUST_FULL = 4,
OWTRUST_ULTIMATE = 5
} |
|
enum | KgpgKeyTrustFlag {
TRUST_MINIMUM = 0,
TRUST_INVALID = 1,
TRUST_DISABLED = 2,
TRUST_REVOKED = 3,
TRUST_EXPIRED = 4,
TRUST_UNDEFINED = 5,
TRUST_UNKNOWN = 6,
TRUST_NONE = 7,
TRUST_MARGINAL = 8,
TRUST_FULL = 9,
TRUST_ULTIMATE = 10,
TRUST_NOKEY = 11
} |
|
enum | KgpgSubKeyTypeFlag { SKT_ENCRYPTION = 0x1,
SKT_SIGNATURE = 0x2,
SKT_AUTHENTICATION = 0x4,
SKT_CERTIFICATION = 0x8
} |
|
types of items in the item models
Every item in the item models is of one of the following types. Some of the items can have properties of more than one basic type, e.g. a key pair can act both as a secret and a public key. Because of this the value for key pairs is a composite of the two "elementary" types for secret and public keys. Other compositions than the ones defined here must not be used to set an item type, but may of course be used as a mask for comparison.
Enumerator |
---|
ITYPE_GROUP |
the element is a GnuPG key group
|
ITYPE_SECRET |
secret key
|
ITYPE_PUBLIC |
public key
|
ITYPE_PAIR |
key pair
|
ITYPE_GSECRET |
secret key as member of a key group
|
ITYPE_GPUBLIC |
public key as member of a key group
|
ITYPE_GPAIR |
key pair as member of a key group
|
ITYPE_SUB |
subkey of a public or secret key
|
ITYPE_UID |
additional user id
|
ITYPE_UAT |
user attribute to a key (i.e. photo id)
|
ITYPE_REVSIGN |
revokation signature
|
ITYPE_SIGN |
signature (to a key, uid or uat)
|
Definition at line 107 of file kgpgkey.h.
Enumerator |
---|
ALGO_UNKNOWN |
|
ALGO_RSA |
|
ALGO_DSA |
|
ALGO_ELGAMAL |
|
ALGO_DSA_ELGAMAL |
|
ALGO_RSA_RSA |
|
Definition at line 32 of file kgpgkey.h.
trust levels for trust in other key owners
These values represent the trust that you have in other people when they sign keys. Once you have signed someones keys you can benefit from the keys they have signed if you trust them to carefully check which keys they sign.
Enumerator |
---|
OWTRUST_UNKNOWN |
Trust value is unknown (e.g. no entry in trust database).
|
OWTRUST_UNDEFINED |
Trust value undefined (e.g. not trust level set).
|
OWTRUST_NONE |
You do not trust the key owner, keys signed by him are untrusted.
|
OWTRUST_MARGINAL |
You have a minimum level of trust in the key owner.
|
OWTRUST_FULL |
You believe the key owner does good checking. Keys signed by him are trusted by you, too.
|
OWTRUST_ULTIMATE |
There is no doubt in this key owner. This level is used for your own secret keys.
|
Definition at line 76 of file kgpgkey.h.
trust levels of keys, uids and uats
These values represent the trust that you have in a public key or obe if it's user ids or attributes (i.e. photo ids). They are more or less ordered by the level of trust. Every value but the first and the last matches one trust value that is
Enumerator |
---|
TRUST_MINIMUM |
internal value for use in filters
|
TRUST_INVALID |
key is invalid
|
TRUST_DISABLED |
key is disabled by user (not owner)
|
TRUST_REVOKED |
key is revoked by owner
|
TRUST_EXPIRED |
key is beyond it's expiry date
|
TRUST_UNDEFINED |
trust value undefined (i.e. you did not set a trust level)
|
TRUST_UNKNOWN |
trust value unknown (i.e. no entry in gpg's trust database)
|
TRUST_NONE |
there is no trusted path to this key
|
TRUST_MARGINAL |
there is a minimal level of trust
|
TRUST_FULL |
you can fully trust this key
|
TRUST_ULTIMATE |
this key has highest possible level of trust (e.g. your own secret keys)
|
TRUST_NOKEY |
internal value, e.g. for key groups
|
Definition at line 51 of file kgpgkey.h.
Enumerator |
---|
SKT_ENCRYPTION |
|
SKT_SIGNATURE |
|
SKT_AUTHENTICATION |
|
SKT_CERTIFICATION |
|
Definition at line 88 of file kgpgkey.h.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:52 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.