• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

libkpgp

Classes | Typedefs | Enumerations | Functions
Kpgp Namespace Reference

Classes

class  Base
 
class  Base2
 
class  Base5
 
class  Base6
 
class  BaseG
 
class  Block
 
class  CipherTextDialog
 
class  Config
 
class  Key
 
class  KeyApprovalDialog
 
class  KeyIDList
 
class  KeyRequester
 
class  KeySelectionDialog
 
class  Module
 
class  PassphraseDialog
 
class  PublicKeyRequester
 
class  SecretKeyRequester
 
class  Subkey
 
class  UserID
 

Typedefs

typedef QByteArray KeyID
 
typedef QList< Key * > KeyList
 
typedef QList< Subkey * > SubkeyList
 
typedef QList< UserID * > UserIDList
 

Enumerations

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
}
 

Functions

bool KeyCompare (Key *left, Key *right)
 

Typedef Documentation

typedef QByteArray Kpgp::KeyID

Definition at line 55 of file kpgpkey.h.

typedef QList<Key*> Kpgp::KeyList

Definition at line 843 of file kpgpkey.h.

typedef QList<Subkey*> Kpgp::SubkeyList

Definition at line 501 of file kpgpkey.h.

typedef QList<UserID*> Kpgp::UserIDList

Definition at line 138 of file kpgpkey.h.

Enumeration Type Documentation

anonymous enum

This enumerated type is used by Kpgp::* to indicate which keys can be selected by the user.

The following values are available:

  • Kpgp::PublicKeys: Public keys are shown in the selection dialog.
  • Kpgp::SecretKeys: Secret keys are shown in the selection dialog.
  • Kpgp::EncryptionKeys: Encryption keys can be selected.
  • Kpgp::SigningKeys: Signing keys can be selected.
  • Kpgp::ValidKeys: Only valid keys can be selected.
  • Kpgp::TrustedKeys: Only trusted keys can be selected.
  • Kpgp::AllKeys == PublicKeys | SecretKeys | EncryptionKeys | SigningKeys
Enumerator
PublicKeys 
SecretKeys 
EncryptionKeys 
SigningKeys 
ValidKeys 
TrustedKeys 
AllKeys 
PubSecKeys 
EncrSignKeys 

Definition at line 54 of file kpgp.h.

enum Kpgp::BlockType
Enumerator
UnknownBlock 
NoPgpBlock 
PgpMessageBlock 
MultiPgpMessageBlock 
SignatureBlock 
ClearsignedBlock 
PublicKeyBlock 
PrivateKeyBlock 

Definition at line 34 of file kpgpblock.h.

enum Kpgp::EncryptPref

These are the possible preferences for encryption.

Enumerator
NeverEncrypt 
UnknownEncryptPref 
AlwaysEncrypt 
AlwaysEncryptIfPossible 
AlwaysAskForEncryption 
AskWheneverPossible 

Definition at line 44 of file kpgpkey.h.

enum Kpgp::MessageStatus
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.

enum Kpgp::Result
Enumerator
Failure 
Ok 
Canceled 

Definition at line 65 of file kpgp.h.

enum Kpgp::Validity

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.

Function Documentation

bool Kpgp::KeyCompare ( Key *  left,
Key *  right 
)
inline

Definition at line 845 of file kpgpkey.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkpgp

Skip menu "libkpgp"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal