Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

xmlsignature::SignatureValidator Class Reference

Validator for signatures based on a Credential. More...

#include <xmltooling/signature/SignatureValidator.h>

Inheritance diagram for xmlsignature::SignatureValidator:

xmltooling::Validator List of all members.

Public Member Functions

 SignatureValidator (XSECCryptoKey *key=NULL)
 Constructor using a key.
 SignatureValidator (const xmltooling::Credential *credential)
 Constructor using a Credential.
virtual void validate (const xmltooling::XMLObject *xmlObject) const
virtual void validate (const Signature *signature) const
 Type-safe validator.
void setKey (XSECCryptoKey *key)
 Replace the current key, if any, with a new one.
void setCredential (const xmltooling::Credential *credential)
 Replace the current Credential, if any, with a new one.

Protected Attributes

XSECCryptoKey * m_key
 Verification key.
const xmltooling::Credential * m_credential
 Verification credential.

Detailed Description

Validator for signatures based on a Credential.


Constructor & Destructor Documentation

xmlsignature::SignatureValidator::SignatureValidator (  XSECCryptoKey *  key = NULL  )  [inline]
 

Constructor using a key.

Parameters:
key the key to use

xmlsignature::SignatureValidator::SignatureValidator (  const xmltooling::Credential *  credential  )  [inline]
 

Constructor using a Credential.

Parameters:
credential the credential to use


Member Function Documentation

void xmlsignature::SignatureValidator::setCredential (  const xmltooling::Credential *  credential  )  [inline]
 

Replace the current Credential, if any, with a new one.

Parameters:
credential the Credential to attach

void xmlsignature::SignatureValidator::setKey (  XSECCryptoKey *  key  )  [inline]
 

Replace the current key, if any, with a new one.

Parameters:
key the key to attach

virtual void xmlsignature::SignatureValidator::validate (  const Signature *  signature  )  const [virtual]
 

Type-safe validator.

Parameters:
signature object to validate


The documentation for this class was generated from the following file:
Generated on Mon Jun 22 13:37:17 2009 for xmltooling by  doxygen 1.3.9.1