libkpgp
|  | 
| enum | { PublicKeys = 1, 
SecretKeys = 2, 
EncryptionKeys = 4, 
SigningKeys = 8,
 ValidKeys = 16, 
TrustedKeys = 32, 
AllKeys = PublicKeys | SecretKeys | EncryptionKeys | SigningKeys, 
PubSecKeys = PublicKeys | SecretKeys,
 EncrSignKeys = EncryptionKeys | SigningKeys
 }
 | 
|  | 
| enum | BlockType { UnknownBlock = -1, 
NoPgpBlock = 0, 
PgpMessageBlock = 1, 
MultiPgpMessageBlock = 2,
 SignatureBlock = 3, 
ClearsignedBlock = 4, 
PublicKeyBlock = 5, 
PrivateKeyBlock = 6
 }
 | 
|  | 
| enum | EncryptPref { NeverEncrypt = -1, 
UnknownEncryptPref = 0, 
AlwaysEncrypt = 1, 
AlwaysEncryptIfPossible = 2,
 AlwaysAskForEncryption = 3, 
AskWheneverPossible = 4
 }
 | 
|  | 
| enum | MessageStatus { OK = 0x0000, 
RUN_ERR = 0x0001, 
ERROR = 0x0001, 
ENCRYPTED = 0x0002,
 SIGNED = 0x0004, 
GOODSIG = 0x0008, 
ERR_SIGNING = 0x0010, 
UNKNOWN_SIG = 0x0020,
 BADPHRASE = 0x0040, 
BADKEYS = 0x0080, 
NO_SEC_KEY = 0x0100, 
MISSINGKEY = 0x0200,
 CANCEL = 0x8000
 }
 | 
|  | 
| enum | Result { Failure = 0, 
Ok = 1, 
Canceled = 2
 } | 
|  | 
| enum | Validity { KPGP_VALIDITY_UNKNOWN = 0, 
KPGP_VALIDITY_UNDEFINED = 1, 
KPGP_VALIDITY_NEVER = 2, 
KPGP_VALIDITY_MARGINAL = 3,
 KPGP_VALIDITY_FULL = 4, 
KPGP_VALIDITY_ULTIMATE = 5
 }
 | 
|  | 
This enumerated type is used by Kpgp::* to indicate which keys can be selected by the user. 
The following values are available:
| Enumerator | 
|---|
| PublicKeys |  | 
| SecretKeys |  | 
| EncryptionKeys |  | 
| SigningKeys |  | 
| ValidKeys |  | 
| TrustedKeys |  | 
| AllKeys |  | 
| PubSecKeys |  | 
| EncrSignKeys |  | 
Definition at line 54 of file kpgp.h.
 
 
| Enumerator | 
|---|
| UnknownBlock |  | 
| NoPgpBlock |  | 
| PgpMessageBlock |  | 
| MultiPgpMessageBlock |  | 
| SignatureBlock |  | 
| ClearsignedBlock |  | 
| PublicKeyBlock |  | 
| PrivateKeyBlock |  | 
Definition at line 34 of file kpgpblock.h.
 
 
These are the possible preferences for encryption. 
| Enumerator | 
|---|
| NeverEncrypt |  | 
| UnknownEncryptPref |  | 
| AlwaysEncrypt |  | 
| AlwaysEncryptIfPossible |  | 
| AlwaysAskForEncryption |  | 
| AskWheneverPossible |  | 
Definition at line 44 of file kpgpkey.h.
 
 
| Enumerator | 
|---|
| OK |  | 
| RUN_ERR |  | 
| ERROR |  | 
| ENCRYPTED |  | 
| SIGNED |  | 
| GOODSIG |  | 
| ERR_SIGNING |  | 
| UNKNOWN_SIG |  | 
| BADPHRASE |  | 
| BADKEYS |  | 
| NO_SEC_KEY |  | 
| MISSINGKEY |  | 
| CANCEL |  | 
Definition at line 45 of file kpgpblock.h.
 
 
| Enumerator | 
|---|
| Failure |  | 
| Ok |  | 
| Canceled |  | 
Definition at line 65 of file kpgp.h.
 
 
These are the possible validity values for a PGP user id and for the owner trust. 
| Enumerator | 
|---|
| KPGP_VALIDITY_UNKNOWN |  | 
| KPGP_VALIDITY_UNDEFINED |  | 
| KPGP_VALIDITY_NEVER |  | 
| KPGP_VALIDITY_MARGINAL |  | 
| KPGP_VALIDITY_FULL |  | 
| KPGP_VALIDITY_ULTIMATE |  | 
Definition at line 32 of file kpgpkey.h.
 
 
  
  | 
        
          | bool Kpgp::KeyCompare | ( | Key * | left, |  
          |  |  | Key * | right |  
          |  | ) |  |  |  | inline | 
 
 
 
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:22 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.