Validator for signatures based on a Credential.
More...
#include <xmltooling/signature/SignatureValidator.h>
Validator for signatures based on a Credential.
◆ SignatureValidator() [1/2]
xmlsignature::SignatureValidator::SignatureValidator |
( |
XSECCryptoKey * | key = 0 | ) |
|
Constructor using a key.
- Parameters
-
◆ SignatureValidator() [2/2]
Constructor using a Credential.
- Parameters
-
credential | the credential to use |
◆ setCredential()
Replace the current Credential, if any, with a new one.
- Parameters
-
credential | the Credential to attach |
◆ setKey()
void xmlsignature::SignatureValidator::setKey |
( |
XSECCryptoKey * | key | ) |
|
Replace the current key, if any, with a new one.
- Parameters
-
◆ validate() [1/2]
virtual void xmlsignature::SignatureValidator::validate |
( |
const Signature * | signature | ) |
const |
|
virtual |
Type-safe validator.
- Parameters
-
signature | object to validate |
◆ validate() [2/2]
Checks to see if an XMLObject is valid.
- Parameters
-
xmlObject | the XMLObject to validate |
- Exceptions
-
ValidationException | thrown if the element is not valid |
Implements xmltooling::Validator.
The documentation for this class was generated from the following file: