org.apache.camel.component.xmlsecurity.api
Interface XmlSignatureProperties.Input

Enclosing interface:
XmlSignatureProperties

public static interface XmlSignatureProperties.Input


Method Summary
 String getContentDigestAlgorithm()
          Digest algorithm which is used for the digest calculation of the message body.
 KeyInfo getKeyInfo()
          Key info.
 org.apache.camel.Message getMessage()
          Input message for reading header data
 Node getMessageBodyNode()
          The message body as DOM node.
 Node getParent()
          Returns the parent node of the signature element in the case of enveloped XML signature.
 String getSignatureAlgorithm()
          Signature algorithm.
 XMLSignatureFactory getSignatureFactory()
          XML signature factory which can be used to create Reference and XMLObject instances.
 String getSignatureId()
          Signature Id.
 

Method Detail

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 XML signature. null is returned in the case of enveloping XML signature.

Returns:
parent node or 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.



Apache Camel