Class X509TestContextProvider
java.lang.Object
org.apache.hadoop.hbase.io.crypto.tls.X509TestContextProvider
Will cache X509TestContext to speed up tests.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hadoop.conf.Configuration
private final org.apache.hbase.thirdparty.com.google.common.cache.LoadingCache<X509TestContextProvider.CacheKey,
X509TestContext> private final File
-
Constructor Summary
ConstructorDescriptionX509TestContextProvider
(org.apache.hadoop.conf.Configuration conf, File tempDir) -
Method Summary
Modifier and TypeMethodDescription(package private) static Collection<Object[]>
get
(X509KeyType caKeyType, X509KeyType certKeyType, char[] keyPassword)
-
Field Details
-
conf
-
tempDir
-
ctxs
private final org.apache.hbase.thirdparty.com.google.common.cache.LoadingCache<X509TestContextProvider.CacheKey,X509TestContext> ctxs
-
-
Constructor Details
-
X509TestContextProvider
-
-
Method Details
-
get
-
defaultParams
-