Class SignatureImpl

  • All Implemented Interfaces:
    XMLObject, Signature

    public class SignatureImpl
    extends AbstractXMLObject
    implements Signature
    XMLObject representing an enveloped or detached XML Digital Signature, version 20020212, Signature element.
    • Field Detail

      • canonicalizationAlgorithm

        private String canonicalizationAlgorithm
        Canonicalization algorithm used in signature.
      • signatureAlgorithm

        private String signatureAlgorithm
        Algorithm used to generate the signature.
      • hmacOutputLength

        private Integer hmacOutputLength
        Optional HMAC output length parameter to the signature algorithm.
      • signingCredential

        private Credential signingCredential
        Key used to sign the signature.
      • keyInfo

        private KeyInfo keyInfo
        Public key information to embed in the signature.
      • contentReferences

        private List<ContentReference> contentReferences
        References to content to be signed.
      • xmlSignature

        private org.apache.xml.security.signature.XMLSignature xmlSignature
        Constructed Apache XML Security signature object.
    • Constructor Detail

      • SignatureImpl

        protected SignatureImpl​(String namespaceURI,
                                String elementLocalName,
                                String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - the namespace the element is in
        elementLocalName - the local name of the XML element this Object represents
        namespacePrefix - the prefix for the given namespace