com.entrust.toolkit.security.provider.Init ializer.requireVeryStrongCrypto
For export reasons, Sun ships a default set of policy files with the J2SE that do not permit unlimited strength cryptography. However, people in countries exempt from these restrictions can download and install an unlimited strength set of these policy files. The default set of policy files typically restricts the usage of:
192-bit AES
256-bit AES
4096 RSA
The toolkit can detect when the J2SE unlimited strength jurisdiction policy files are not installed. To asserts that "very strong" crypto is permitted, set this property as follows.
com.entrust.toolkit.security.provider.Initializer.requireVeryStrongCrypto=1Or use the following methods:
Initializer.setProviders() Initializer.assertVeryStrongCryptoAllowed()If "very strong" crypto is not permitted, the following exception indicates the problem.
SecurityException Available from: 7.2