Interface XmlSignatureProperties.Input

Enclosing interface:
XmlSignatureProperties

public static interface XmlSignatureProperties.Input
  • Method Details

    • getMessage

      org.apache.camel.Message getMessage()
      Input message for reading header data
    • getMessageBodyNode

      Node getMessageBodyNode()
      The message body as DOM node. If the message body is plain text then the node will be a text node. If the message body is a XML document, then the node is the root element.
    • getParent

      Node getParent()
      Returns the parent node of the signature element in the case of enveloped or detached XML signature, or the empty result document in the case of enveloping XML signature.
      Returns:
      parent node, cannot be null
    • getKeyInfo

      KeyInfo getKeyInfo()
      Key info.
    • getSignatureFactory

      XMLSignatureFactory getSignatureFactory()
      XML signature factory which can be used to create Reference and XMLObject instances.
      Returns:
      factory
    • getSignatureAlgorithm

      String getSignatureAlgorithm()
      Signature algorithm. Example: "http://www.w3.org/2000/09/xmldsig#dsa-sha1".
    • getContentDigestAlgorithm

      String getContentDigestAlgorithm()
      Digest algorithm which is used for the digest calculation of the message body.
    • getSignatureId

      String getSignatureId()
      Signature Id. Can be null, then no signature Id attribute is generated.
    • getContentReferenceUri

      String getContentReferenceUri()
      Reference URI which points to the content of the original XML document to be signed. For enveloped signature it is typically the empty string. For detached signature, it is an ID attribute value preceded by '#'. For enveloping signature, it is null.
    • getSignatureType

      SignatureType getSignatureType()
      Retruns the signature type.
      Returns:
      signature type
    • getPrefixForXmlSignatureNamespace

      String getPrefixForXmlSignatureNamespace()
      Returns the prefix for the XML Signature namespace ("http://www.w3.org/2000/09/xmldsig#"). Can be null or empty.