init.properties

The init.properties file and other associated property files contain various attributes and mappings required by the toolkit XML libraries.

Section 1

The properties in Section 1 specify the ISO language and country codes used to select the appropriate exception message resource bundle.

# Initialization properties for XML Encryption and IXSIL
#
#==============================================================
# Section 1: Properties for localizing exception messages
#==============================================================
IXSILException.ISOLanguageCode = "en"
IXSILException.ISOCountryCode = "US"

Section 2

The two properties in section 2 contain URIs specifying the location of the IXSIL: algorithm properties and keyManager properties files.

#==============================================================
# Section 2: Edit this section as required to reflect property file and schema locations
#==============================================================
location.algorithmsProperties =
file:/C:../init/properties/algorithms.properties
location.keyManagerProperties =
file:/C:../init/properties/keyManager.properties
DOMUtils.SignatureSchema =
file:/C:../init/schemas/Signature.xsd
#--------------------------------------------------------------
# OPTIONAL: This property contains a URI specifying the (virtual)
# location of the IXSIL init properties file (i. e. this file).
# The URI MUST be absolute.
#location.initProperties = file:/C:/etjava/examples/data/xml/init/properties/init.properties

Section 3

Section 3 contains properties that allow you to specify the XML namespace prefixes you want to use for XML Signature and XML Schema.

#==============================================================
# Section 3: NameSpace prefixes for XML signature and XML schema
#==============================================================
namespacePrefix.XMLSignature = dsig:
namespacePrefix.XMLSchemaInstance = xsi:

Section 4

Section 4 contains properties that allow you to specify the XML namespace prefixes you want to use for XML Signature and XML Schema.

#==============================================================
# Section 4: DOMUtils properties
#==============================================================
# Use this setting if you want the Toolkit to use an Apache
# implementation in your Java runtime, e.g. Apache Xerces is on the class path.
DOMUtils.ImplementingClass = com.entrust.toolkit.xml.util.DOMUtilsImplApache
# Use this setting if you want the Toolkit to use its internal
# JAXP implementation, which is based on Apache Xerces 1.4.4.
# DOMUtils.ImplementingClass = iaik.ixsil.util.DOMUtilsImpl
# Set the following property settings in addition to ONE of the above
# according to your error handling requirements
DOMUtils.ErrorHandler.reportWarnings = true
DOMUtils.ErrorHandler.reportErrors = true
DOMUtils.ErrorHandler.reportFatalErrors = true

Section 5

Section 5 contains properties that you do not need to edit.

#=============================================================
# Section 5: Nothing in this section needs to be edited.
#==============================================================
# AlgorithmFactory properties
... contents not shown ...
#--------------------------------------------------------------
# VerifierKeyManager properties
... contents not shown ...
#--------------------------------------------------------------
# XPathUtils properties
... contents not shown ...
#--------------------------------------------------------------
# CanonicalXMLSerializer properties
... contents not shown ...
#--------------------------------------------------------------
# Key Wrap AlgorithmFactory properties
... contents not shown ...
#--------------------------------------------------------------
# Key Wrap algorithm namespace identifiers
... contents not shown ...
#--------------------------------------------------------------
# Encryption AlgorithmFactory properties
... contents not shown ...
#--------------------------------------------------------------
# Encryption algorithm namespace identifiers
... contents not shown ...