Package org.apache.zookeeper.common
Class ZKFipsLoader
- java.lang.Object
-
- org.apache.zookeeper.common.ZKFipsLoader
-
public class ZKFipsLoader extends java.lang.Object
The purpose of this class is to separate the importing of the Bouncy Castle jar files from the classes where they are (conditionally) needed, as those classes may also be used where the Bouncy Castle jar files are not in the classpath. (See MFS-12315)
-
-
Constructor Summary
Constructors Constructor Description ZKFipsLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.net.ssl.SSLContext
getBCFKSSSLContext(java.lang.String protocol)
static boolean
isFipsMode()
static void
loadZKFipsProviders()
-
-
-
Method Detail
-
loadZKFipsProviders
public static void loadZKFipsProviders()
-
isFipsMode
public static boolean isFipsMode()
-
getBCFKSSSLContext
public static javax.net.ssl.SSLContext getBCFKSSSLContext(java.lang.String protocol) throws java.security.NoSuchAlgorithmException
- Throws:
java.security.NoSuchAlgorithmException
-
-