com.entrust.toolkit.security.provider.Initializer.defaultMode

Initializing the Toolkit dynamically installs the JCA/JCE cryptographic service providers (CSP) and adds the Entrust and IAIK CSPs to the list of approved providers. Depending on the mode selected with this property, the Entrust CSPs are installed with a different preference.

com.entrust.toolkit.security.provider.Initializer.defaultMode = <mode>

See below for a description of each supported <mode>.

Available from : 7.2 SP1

MODE_NORMAL

Entrust and IAIK providers are available

MODE_ENTRUST_FIRST

The Entrust and IAIK JCA/JCE CSPs are installed with the highest preference (in first and second positions).

MODE_ENTRUST_LAST

The Entrust and 'IAIK' JCA/JCE CSPs are installed with the lowest preference (in the second last, and last positions).

MODE_STATIC

When this mode is used, the toolkit does not attempt to remove or add the Entrust or IAIK security provider.

If the application has not set the Entrust or IAIK providers, any attempt to access a cryptographic algorithm from the Entrust or IAIK providers will result in the following exception.

NoSuchProviderException