Class ApacheSantuarioSignatureValidationProviderImpl

All Implemented Interfaces:

public class ApacheSantuarioSignatureValidationProviderImpl extends Object implements SignatureValidationProvider
Implementation of SignatureValidationProvider which is based on the Apache Santuario library and is used with Signature instances which are instances of SignatureImpl.
  • Field Details

    • log

      private final org.slf4j.Logger log
      Class logger.
  • Constructor Details

    • ApacheSantuarioSignatureValidationProviderImpl

      public ApacheSantuarioSignatureValidationProviderImpl()
  • Method Details

    • validate

      public void validate(@Nonnull Signature signature, @Nonnull Credential validationCredential) throws SignatureException
      Validate the given XML Signature using the given candidate validation Credential.
      Specified by:
      validate in interface SignatureValidationProvider
      signature - the XMLSignature to validate
      validationCredential - the candidate validation Credential
      SignatureException - if the signature does not validate using the candiate Credential, or if there is otherwise an error during the validation operation
    • getXMLSignature

      @Nullable protected getXMLSignature(@Nonnull Signature signature)
      Access the XMLSignature from the given signature object.
      signature - the signature
      the related XMLSignature