org.apache.camel.component.xmlsecurity.api
Class XmlSignatureConstants

java.lang.Object
  extended by org.apache.camel.component.xmlsecurity.api.XmlSignatureConstants

public final class XmlSignatureConstants
extends Object


Field Summary
static String HEADER_CONTENT_REFERENCE_TYPE
           
static String HEADER_CONTENT_REFERENCE_URI
           
static String HEADER_MESSAGE_IS_PLAIN_TEXT
          Header for indicating that the message body contains non-xml plain text.
static String HEADER_OMIT_XML_DECLARATION
          Header which indicates that either the resulting signature document in the signature generation case or the resulting output of the verifier should not contain an XML declaration.
static String HEADER_PLAIN_TEXT_ENCODING
          Header indicating the encoding of the plain text message body.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_MESSAGE_IS_PLAIN_TEXT

public static final String HEADER_MESSAGE_IS_PLAIN_TEXT
Header for indicating that the message body contains non-xml plain text. This header is used in the XML signature generator. If the value is set to Boolean.TRUE then the message body is treated as plain text Overwrites the configuration parameter XmlSignerConfiguration#setPlainText(Boolean)

See Also:
Constant Field Values

HEADER_PLAIN_TEXT_ENCODING

public static final String HEADER_PLAIN_TEXT_ENCODING
Header indicating the encoding of the plain text message body. Used in the XML signature generator if the header HEADER_MESSAGE_IS_PLAIN_TEXT is set to Boolean.TRUE. Overwrites the configuration parameter XmlSignerConfiguration#setPlainTextEncoding(String).

See Also:
Constant Field Values

HEADER_OMIT_XML_DECLARATION

public static final String HEADER_OMIT_XML_DECLARATION
Header which indicates that either the resulting signature document in the signature generation case or the resulting output of the verifier should not contain an XML declaration. If the header is not specified then a XML declaration is created.

There is one exception: If the verifier result is a plain text this header has no effect.

Possible values of the header are Boolean.TRUE or Boolean.FALSE.

Overwrites the configuration parameter XmlSignatureConfiguration#setOmitXmlDeclaration(Boolean).

See Also:
Constant Field Values

HEADER_CONTENT_REFERENCE_URI

public static final String HEADER_CONTENT_REFERENCE_URI
See Also:
Constant Field Values

HEADER_CONTENT_REFERENCE_TYPE

public static final String HEADER_CONTENT_REFERENCE_TYPE
See Also:
Constant Field Values


Apache Camel