Public Types |
enum | Types { X509,
PGP,
Custom
} |
typedef TQValueList< Key > | List |
typedef TQValueList< int > | TypeList |
Public Member Functions |
| Key (const TQString &text=TQString::null, int type=PGP) |
| ~Key () |
bool | operator== (const Key &) const |
bool | operator!= (const Key &) const |
void | setId (const TQString &id) |
TQString | id () const |
void | setBinaryData (const TQByteArray &binary) |
TQByteArray | binaryData () const |
void | setTextData (const TQString &text) |
TQString | textData () const |
bool | isBinary () const |
void | setType (int type) |
void | setCustomTypeString (const TQString &custom) |
int | type () const |
TQString | customTypeString () const |
Static Public Member Functions |
static TypeList | typeList () |
static TQString | typeLabel (int type) |
Friends |
KABC_EXPORT TQDataStream & | operator<< (TQDataStream &, const Key &) |
KABC_EXPORT TQDataStream & | operator>> (TQDataStream &, Key &) |
A class to store an encryption key.
Definition at line 33 of file key.h.