Class XMLSigner


  • public class XMLSigner
    extends java.lang.Object
    Class containing help methods for digital XML signatures
    • Field Detail

      • XMLDSIG_NAMESPACE

        public static java.lang.String XMLDSIG_NAMESPACE
    • Method Detail

      • verifyEnvelopedSignature

        @Deprecated
        public void verifyEnvelopedSignature​(byte[] message)
                                      throws MessageContentException,
                                             MessageProcessingException
        Deprecated.
        Help method to verify a signed enveloped message and performs the following checks. Using the default context.
      • That the signature if included X509Certificate verifies.
      • That the signatures algorithms is one of supported signature schemes.
      • That the signature method is enveloped.

        This method does not perform and authorization call towards message security provider.

Parameters:
message - the message to verify signature of.
Throws:
MessageContentException - if message content was faulty
MessageProcessingException - if internal error occurred verifying the signature.
Parameters:
context - the related message security context
message - the message to verify signature of.
Throws:
MessageContentException - if message content was faulty
MessageProcessingException - if internal error occurred verifying the signature.