Class ContextUtil
java.lang.Object
org.bouncycastle.jsse.util.ContextUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BCSSLContextgetBCSSLContext(SSLContext sslContext) Returns aBCSSLContextdescribing the current initialization of anSSLContext.
-
Constructor Details
-
ContextUtil
public ContextUtil()
-
-
Method Details
-
getBCSSLContext
Returns aBCSSLContextdescribing the current initialization of anSSLContext.- Parameters:
sslContext- theSSLContext- Returns:
- a
BCSSLContextfor the current initialization of the SSLContext, ornullif the SSLContext is not from the BCJSSE provider - Throws:
IllegalStateException- if the SSLContext has not been initialized
-