|
You can use any single provider, or combination of providers which provides the services and algorithms that HTTPsec-Java requires.
These are the default service/algorithm names:
| MessageDigest: | SHA-256, HmacSHA256 |
| Cipher: | RSA/NONE/OAEPWithSHA1AndMGF1Padding, AES/ECB/NoPadding, AES/CBC/PKCS5Padding |
| KeyPairGenerator: | DiffieHellman, RSA |
| KeyFactory: | RSA |
| KeyAgreement: | DiffieHellman |
| CertificateFactory: | X.509 |
| Signature: | SHA256withRSAandMGF1 |
| SecureRandom | SHA1PRNG |
See the package docs for instructions to configure your JCE and HTTPsec-Java.
There is a list of JCE providers available from Sun.
This provider does not provide the required Signature algorithm.
You need to add the lines:
PublicKeyCipher = RSA/ECB/OAEPWithSHA1AndMGF1Padding
PublicKeyCipher.provider = JsafeJCE
to Primitives.conf.