Class ApacheSantuarioSignatureValidationProviderImpl

    • Field Detail

      • log

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

      • ApacheSantuarioSignatureValidationProviderImpl

        public ApacheSantuarioSignatureValidationProviderImpl()
    • Method Detail

      • 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
        Parameters:
        signature - the XMLSignature to validate
        validationCredential - the candidate validation Credential
        Throws:
        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 org.apache.xml.security.signature.XMLSignature getXMLSignature​(@Nonnull
                                                                                 Signature signature)
        Access the XMLSignature from the given signature object.
        Parameters:
        signature - the signature
        Returns:
        the related XMLSignature