Class XmlSignatureConstants
- java.lang.Object
-
- org.apache.camel.component.xmlsecurity.api.XmlSignatureConstants
-
public final class XmlSignatureConstants extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringHEADER_CONTENT_REFERENCE_TYPEstatic StringHEADER_CONTENT_REFERENCE_URIstatic StringHEADER_MESSAGE_IS_PLAIN_TEXTHeader for indicating that the message body contains non-xml plain text.static StringHEADER_OMIT_XML_DECLARATIONHeader 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 StringHEADER_PLAIN_TEXT_ENCODINGHeader indicating the encoding of the plain text message body.static StringHEADER_SCHEMA_RESOURCE_URIstatic StringHEADER_TRANSFORM_METHODSHeader for dynamic specifying the transform methods of the reference to the signed data.static StringHEADER_XADES_DATA_OBJECT_FORMAT_ENCODINGHeader for the "Encoding" element contained in the "DataObjectFormat" XAdES element.static StringHEADER_XADES_NAMESPACEHeader for the XAdES namespace.static StringHEADER_XADES_PREFIXHeader for the XAdES namespace prefix.static StringHEADER_XADES_QUALIFYING_PROPERTIES_IDHeader for the 'Id' attribute value of the XAdES element 'QualifyingProperties'static StringHEADER_XADES_SIGNED_DATA_OBJECT_PROPERTIES_IDHeader for the 'Id' attribute value of the XAdES element 'SignedDataObjectProperties'static StringHEADER_XADES_SIGNED_SIGNATURE_PROPERTIES_IDHeader for the 'Id' attribute value of the XAdES element 'SignedSignatureProperties'static StringHEADER_XPATHS_TO_ID_ATTRIBUTES
-
-
-
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 toBoolean.TRUEthen 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 headerHEADER_MESSAGE_IS_PLAIN_TEXTis set toBoolean.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.TRUEorBoolean.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
-
HEADER_SCHEMA_RESOURCE_URI
public static final String HEADER_SCHEMA_RESOURCE_URI
- See Also:
- Constant Field Values
-
HEADER_XPATHS_TO_ID_ATTRIBUTES
public static final String HEADER_XPATHS_TO_ID_ATTRIBUTES
- See Also:
- Constant Field Values
-
HEADER_TRANSFORM_METHODS
public static final String HEADER_TRANSFORM_METHODS
Header for dynamic specifying the transform methods of the reference to the signed data. The value of the header must be a comma separated list with the transform algorithms, for example: "http://www.w3.org/2000/09/xmldsig#enveloped-signature,http://www.w3.org/TR/2001/REC-xml-c14n-20010315"Used for the XML signer. This header will overwrite the configuration property "transformMethods". You cannot use transform algorithms, which need parameters like http://www.w3.org/TR/1999/REC-xslt-19991116, http://www.w3.org/2002/06/xmldsig-filter2, or http://www.w3.org/TR/1999/REC-xpath-19991116.
- See Also:
- Constant Field Values
-
HEADER_XADES_QUALIFYING_PROPERTIES_ID
public static final String HEADER_XADES_QUALIFYING_PROPERTIES_ID
Header for the 'Id' attribute value of the XAdES element 'QualifyingProperties'- See Also:
- Constant Field Values
-
HEADER_XADES_SIGNED_DATA_OBJECT_PROPERTIES_ID
public static final String HEADER_XADES_SIGNED_DATA_OBJECT_PROPERTIES_ID
Header for the 'Id' attribute value of the XAdES element 'SignedDataObjectProperties'- See Also:
- Constant Field Values
-
HEADER_XADES_SIGNED_SIGNATURE_PROPERTIES_ID
public static final String HEADER_XADES_SIGNED_SIGNATURE_PROPERTIES_ID
Header for the 'Id' attribute value of the XAdES element 'SignedSignatureProperties'- See Also:
- Constant Field Values
-
HEADER_XADES_DATA_OBJECT_FORMAT_ENCODING
public static final String HEADER_XADES_DATA_OBJECT_FORMAT_ENCODING
Header for the "Encoding" element contained in the "DataObjectFormat" XAdES element.- See Also:
- Constant Field Values
-
HEADER_XADES_NAMESPACE
public static final String HEADER_XADES_NAMESPACE
Header for the XAdES namespace. Different namespaces represent different XAdES specification versions. Currently supported namespaces are: http://uri.etsi.org/01903/v1.1.1#, http://uri.etsi.org/01903/v1.2.2#, http://uri.etsi.org/01903/v1.3.2#.- See Also:
- Constant Field Values
-
HEADER_XADES_PREFIX
public static final String HEADER_XADES_PREFIX
Header for the XAdES namespace prefix. An empty string means that no prefix shall be used. Anullheader value will have no effect.- See Also:
- Constant Field Values
-
-