#include <QtCrypto>
Collaboration diagram for QCA::SecureMessageKey:
Public Types | |
enum | Type { None, PGP, X509 } |
Public Member Functions | |
SecureMessageKey () | |
SecureMessageKey (const SecureMessageKey &from) | |
SecureMessageKey & | operator= (const SecureMessageKey &from) |
bool | isNull () const |
Type | type () const |
PGPKey | pgpPublicKey () const |
PGPKey | pgpSecretKey () const |
void | setPGPPublicKey (const PGPKey &pub) |
void | setPGPSecretKey (const PGPKey &sec) |
CertificateChain | x509CertificateChain () const |
PrivateKey | x509PrivateKey () const |
void | setX509CertificateChain (const CertificateChain &c) |
void | setX509PrivateKey (const PrivateKey &k) |
void | setX509KeyBundle (const KeyBundle &kb) |
bool | havePrivate () const |
QString | name () const |
|
The key type.
|
|
Construct an empty key.
|
|
Standard copy constructor.
|
|
Standard assignment operator.
|
|
Returns true for null object.
|
|
The key type.
|
|
Public key part of a PGP key.
|
|
Private key part of a PGP key.
|
|
Set the public key part of a PGP key.
|
|
Set the private key part of a PGP key.
|
|
The X.509 certificate chain (public part) for this key.
|
|
The X.509 private key part of this key.
|
|
Set the public key part of this X.509 key.
|
|
Set the private key part of this X.509 key.
|
|
Set the public and private part of this X.509 key with KeyBundle.
|
|
Test if this key contains a private key part.
|
|
The name associated with this key. For a PGP key, this is the primary user ID For an X.509 key, this is the Common Name |