#include <xmltooling/signature/SignatureValidator.h>
Inheritance diagram for xmlsignature::SignatureValidator:

Public Member Functions | |
| SignatureValidator (XSECCryptoKey *key=NULL) | |
| Constructor using a key. | |
| SignatureValidator (const xmltooling::Credential *credential) | |
| Constructor using a Credential. | |
| void | validate (const xmltooling::XMLObject *xmlObject) const |
| Checks to see if an XMLObject is valid. | |
| 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. | |
| xmlsignature::SignatureValidator::SignatureValidator | ( | XSECCryptoKey * | key = NULL |
) |
Constructor using a key.
| key | the key to use |
| xmlsignature::SignatureValidator::SignatureValidator | ( | const xmltooling::Credential * | credential | ) |
Constructor using a Credential.
| credential | the credential to use |
| void xmlsignature::SignatureValidator::setCredential | ( | const xmltooling::Credential * | credential | ) |
Replace the current Credential, if any, with a new one.
| credential | the Credential to attach |
| void xmlsignature::SignatureValidator::setKey | ( | XSECCryptoKey * | key | ) |
Replace the current key, if any, with a new one.
| key | the key to attach |
| virtual void xmlsignature::SignatureValidator::validate | ( | const Signature * | signature | ) | const [virtual] |
Type-safe validator.
| signature | object to validate |
| void xmlsignature::SignatureValidator::validate | ( | const xmltooling::XMLObject * | xmlObject | ) | const [virtual] |
Checks to see if an XMLObject is valid.
| xmlObject | the XMLObject to validate |
| ValidationException | thrown if the element is not valid |
Implements xmltooling::Validator.
1.4.7