|
xmltooling
1.5.3
|
Validator for signatures based on a Credential. More...
#include <xmltooling/signature/SignatureValidator.h>
Public Member Functions | |
| SignatureValidator (XSECCryptoKey *key=0) | |
| Constructor using a key. More... | |
| SignatureValidator (const xmltooling::Credential *credential) | |
| Constructor using a Credential. More... | |
| void | validate (const xmltooling::XMLObject *xmlObject) const |
| Checks to see if an XMLObject is valid. More... | |
| virtual void | validate (const Signature *signature) const |
| Type-safe validator. More... | |
| void | setKey (XSECCryptoKey *key) |
| Replace the current key, if any, with a new one. More... | |
| void | setCredential (const xmltooling::Credential *credential) |
| Replace the current Credential, if any, with a new one. More... | |
Protected Attributes | |
| XSECCryptoKey * | m_key |
| Verification key. More... | |
| const xmltooling::Credential * | m_credential |
| Verification credential. More... | |
Validator for signatures based on a Credential.
| xmlsignature::SignatureValidator::SignatureValidator | ( | XSECCryptoKey * | key = 0 | ) |
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 |
Checks to see if an XMLObject is valid.
| xmlObject | the XMLObject to validate |
| ValidationException | thrown if the element is not valid |
Implements xmltooling::Validator.
|
virtual |
Type-safe validator.
| signature | object to validate |
|
protected |
Verification credential.
|
protected |
Verification key.