QCA::SecureMessageSignature
#include <QtCrypto>
Public Types | |
enum | IdentityResult { Valid , InvalidSignature , InvalidKey , NoKey } |
Public Member Functions | |
SecureMessageSignature () | |
SecureMessageSignature (const SecureMessageSignature &from) | |
SecureMessageSignature (IdentityResult r, Validity v, const SecureMessageKey &key, const QDateTime &ts) | |
IdentityResult | identityResult () const |
SecureMessageKey | key () const |
Validity | keyValidity () const |
SecureMessageSignature & | operator= (const SecureMessageSignature &from) |
QDateTime | timestamp () const |
Detailed Description
SecureMessage signature.
Definition at line 184 of file qca_securemessage.h.
Member Enumeration Documentation
◆ IdentityResult
The result of identity verification.
Enumerator | |
---|---|
Valid | indentity is verified, matches signature |
InvalidSignature | valid key provided, but signature failed |
InvalidKey | invalid key provided |
NoKey | identity unknown |
Definition at line 190 of file qca_securemessage.h.
Constructor & Destructor Documentation
◆ SecureMessageSignature() [1/3]
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.
◆ SecureMessageSignature() [2/3]
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.
- Parameters
-
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
◆ SecureMessageSignature() [3/3]
QCA::SecureMessageSignature::SecureMessageSignature | ( | const SecureMessageSignature & | from | ) |
Standard copy constructor.
- Parameters
-
from the source signature object
Member Function Documentation
◆ identityResult()
IdentityResult QCA::SecureMessageSignature::identityResult | ( | ) | const |
get the results of the identity check on this signature
◆ key()
SecureMessageKey QCA::SecureMessageSignature::key | ( | ) | const |
get the key associated with this signature
◆ keyValidity()
Validity QCA::SecureMessageSignature::keyValidity | ( | ) | const |
get the results of the key validation check on this signature
◆ operator=()
SecureMessageSignature & QCA::SecureMessageSignature::operator= | ( | const SecureMessageSignature & | from | ) |
Standard assignment operator.
- Parameters
-
from the source signature object
◆ timestamp()
QDateTime QCA::SecureMessageSignature::timestamp | ( | ) | const |
get the timestamp associated with this signature
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:53:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.