• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

qca

QCA::SecureMessageSignature

QCA::SecureMessageSignature Class Reference
[QCA user API]

SecureMessage signature. More...

#include <QtCrypto>

List of all members.

Public Types

enum  IdentityResult { Valid, InvalidSignature, InvalidKey, NoKey }

Public Member Functions

 SecureMessageSignature (const SecureMessageSignature &from)
 SecureMessageSignature (IdentityResult r, Validity v, const SecureMessageKey &key, const QDateTime &ts)
 SecureMessageSignature ()
 ~SecureMessageSignature ()
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

enum QCA::SecureMessageSignature::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

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.

Definition at line 186 of file qca_securemessage.cpp.

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

Definition at line 191 of file qca_securemessage.cpp.

QCA::SecureMessageSignature::SecureMessageSignature ( const SecureMessageSignature &  from  ) 

Standard copy constructor.

Parameters:
from the source signature object

Definition at line 200 of file qca_securemessage.cpp.

QCA::SecureMessageSignature::~SecureMessageSignature (  ) 

Definition at line 205 of file qca_securemessage.cpp.


Member Function Documentation

SecureMessageSignature::IdentityResult QCA::SecureMessageSignature::identityResult (  )  const

get the results of the identity check on this signature

Definition at line 215 of file qca_securemessage.cpp.

SecureMessageKey QCA::SecureMessageSignature::key (  )  const

get the key associated with this signature

Definition at line 225 of file qca_securemessage.cpp.

Validity QCA::SecureMessageSignature::keyValidity (  )  const

get the results of the key validation check on this signature

Definition at line 220 of file qca_securemessage.cpp.

SecureMessageSignature & QCA::SecureMessageSignature::operator= ( const SecureMessageSignature &  from  ) 

Standard assignment operator.

Parameters:
from the source signature object

Definition at line 209 of file qca_securemessage.cpp.

QDateTime QCA::SecureMessageSignature::timestamp (  )  const

get the timestamp associated with this signature

Definition at line 230 of file qca_securemessage.cpp.


The documentation for this class was generated from the following files:
  • qca_securemessage.h
  • qca_securemessage.cpp

qca

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

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal