public class ApacheSantuarioSignatureValidationProviderImpl extends Object implements SignatureValidationProvider
SignatureValidationProvider
which is based on the Apache Santuario library
and is used with Signature
instances which are instances of SignatureImpl
.Constructor and Description |
---|
ApacheSantuarioSignatureValidationProviderImpl() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.xml.security.signature.XMLSignature |
getXMLSignature(Signature signature)
Access the
XMLSignature from the given signature object. |
void |
validate(Signature signature,
Credential validationCredential)
Validate the given XML Signature using the given candidate validation Credential.
|
public ApacheSantuarioSignatureValidationProviderImpl()
public void validate(@Nonnull Signature signature, @Nonnull Credential validationCredential) throws SignatureException
validate
in interface SignatureValidationProvider
signature
- the XMLSignature to validatevalidationCredential
- the candidate validation CredentialSignatureException
- if the signature does not validate using the candiate Credential,
or if there is otherwise an error during the validation operationCopyright © 2016 JBoss by Red Hat. All rights reserved.