added support for config method
{
public static final String PROVIDER_NAME = "BCJSSE";
- private static final double PROVIDER_VERSION = 1.0008;
- private static final String PROVIDER_INFO = "Bouncy Castle JSSE Provider Version 1.0.8";
+ private static final double PROVIDER_VERSION = 1.0009;
+ private static final String PROVIDER_INFO = "Bouncy Castle JSSE Provider Version 1.0.9";
private Map<String, BcJsseService> serviceMap = new HashMap<String, BcJsseService>();
private Map<String, EngineCreator> creatorMap = new HashMap<String, EngineCreator>();
@@ -86,6 +86,12 @@ public BouncyCastleJsseProvider(boolean fipsMode, JcaTlsCryptoProvider tlsCrypto
this.isInFipsMode = configure(fipsMode, tlsCryptoProvider);
}
+ // for Java 11
+ public Provider configure(String configArg)
+ {
+ return new BouncyCastleJsseProvider(configArg);
+ }
+
private JcaTlsCryptoProvider createCryptoProvider(String cryptoName)
throws GeneralSecurityException
{
