Class SignatureImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.impl.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 Details

    • canonicalizationAlgorithm

      @Nullable private String canonicalizationAlgorithm
      Canonicalization algorithm used in signature.
    • signatureAlgorithm

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

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

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

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

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

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

    • SignatureImpl

      protected SignatureImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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
  • Method Details