public class ApacheSantuarioSignatureValidationProviderImpl extends java.lang.Object implements SignatureValidationProvider
SignatureValidationProvider which is based on the Apache Santuario library
and is used with Signature instances which are instances of SignatureImpl.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
| 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 SignatureValidationProvidersignature - 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 operation@Nullable
protected org.apache.xml.security.signature.XMLSignature getXMLSignature(@Nonnull
Signature signature)
XMLSignature from the given signature object.signature - the signature