public final class XmlSignatureConstants extends Object
Modifier and Type | Field and Description |
---|---|
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.
|
public static final String HEADER_MESSAGE_IS_PLAIN_TEXT
Boolean.TRUE
then the message body is treated as plain text
Overwrites the configuration parameter
XmlSignerConfiguration#setPlainText(Boolean)public static final String HEADER_PLAIN_TEXT_ENCODING
HEADER_MESSAGE_IS_PLAIN_TEXT
is set to Boolean.TRUE
.
Overwrites the configuration parameter
XmlSignerConfiguration#setPlainTextEncoding(String).public static final String HEADER_OMIT_XML_DECLARATION
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).
public static final String HEADER_CONTENT_REFERENCE_URI
public static final String HEADER_CONTENT_REFERENCE_TYPE
Apache Camel