#include <QtCrypto>
Public Types | |
enum | IdentityResult { Valid, InvalidSignature, InvalidKey, NoKey } |
Public Member Functions | |
IdentityResult | identityResult () const |
SecureMessageKey | key () const |
Validity | keyValidity () const |
SecureMessageSignature & | operator= (const SecureMessageSignature &from) |
SecureMessageSignature (const SecureMessageSignature &from) | |
SecureMessageSignature (IdentityResult r, Validity v, const SecureMessageKey &key, const QDateTime &ts) | |
SecureMessageSignature () | |
QDateTime | timestamp () const |
QCA::SecureMessageSignature::SecureMessageSignature | ( | ) |
Create an empty signature check object.
User applications don't normally need to create signature checks. You normally get the object back as a result of a SecureMessage operation.
QCA::SecureMessageSignature::SecureMessageSignature | ( | IdentityResult | r, | |
Validity | v, | |||
const SecureMessageKey & | key, | |||
const QDateTime & | ts | |||
) |
Create a signature check object.
User applications don't normally need to create signature checks. You normally get the object back as a result of a SecureMessage operation.
r | the result of the check | |
v | the Validity of the key validation check | |
key | the key associated with the signature | |
ts | the timestamp associated with the signature |
QCA::SecureMessageSignature::SecureMessageSignature | ( | const SecureMessageSignature & | from | ) |
Standard copy constructor.
from | the source signature object |
IdentityResult QCA::SecureMessageSignature::identityResult | ( | ) | const |
get the results of the identity check on this signature
SecureMessageKey QCA::SecureMessageSignature::key | ( | ) | const |
get the key associated with this signature
Validity QCA::SecureMessageSignature::keyValidity | ( | ) | const |
get the results of the key validation check on this signature
SecureMessageSignature& QCA::SecureMessageSignature::operator= | ( | const SecureMessageSignature & | from | ) |
Standard assignment operator.
from | the source signature object |
QDateTime QCA::SecureMessageSignature::timestamp | ( | ) | const |
get the timestamp associated with this signature