Class SslUtils
java.lang.Object
gov.llnl.gnem.apps.coda.common.gui.util.SslUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic X509KeyManager
getSystemKeyManager
(String algorithm, KeyStore keystore) static X509TrustManager
getSystemTrustManager
(String algorithm, KeyStore keystore) static SSLContext
initMergedSSLTrustStore
(InputStream keyStoreInput) static io.netty.handler.ssl.SslContext
initMergedSSLTrustStore
(Supplier<io.netty.handler.ssl.SslContextBuilder> base, InputStream keyStoreInput)
-
Constructor Details
-
SslUtils
public SslUtils()
-
-
Method Details
-
initMergedSSLTrustStore
public static SSLContext initMergedSSLTrustStore(InputStream keyStoreInput) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityException
IOException
-
initMergedSSLTrustStore
public static io.netty.handler.ssl.SslContext initMergedSSLTrustStore(Supplier<io.netty.handler.ssl.SslContextBuilder> base, InputStream keyStoreInput) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityException
IOException
-
getSystemKeyManager
public static X509KeyManager getSystemKeyManager(String algorithm, KeyStore keystore) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
getSystemTrustManager
public static X509TrustManager getSystemTrustManager(String algorithm, KeyStore keystore) throws GeneralSecurityException - Throws:
GeneralSecurityException
-