org.opensaml.xml.signature
Modifier and Type | Field and Description |
---|---|
private Logger |
log
Class logger.
|
private Credential |
validationCredential
Credential used to validate signature.
|
Constructor and Description |
---|
SignatureValidator(Credential validatingCredential)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected XMLSignature |
buildSignature(Signature signature)
Constructs an
XMLSignature from the given signature object. |
void |
validate(Signature signature)
Checks to see if a XMLObject is valid.
|
private final Logger log
private Credential validationCredential
public SignatureValidator(Credential validatingCredential)
validatingCredential
- credential used to validate the signaturepublic void validate(Signature signature) throws ValidationException
validate
in interface Validator<Signature>
signature
- the XMLObject to validateValidationException
- thrown if the element is not validprotected XMLSignature buildSignature(Signature signature)
XMLSignature
from the given signature object.signature
- the signatureCopyright © 1999-2014 JBoss by Red Hat. All Rights Reserved.