public class WaarpBC extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_SESSIONCACHE_SIZE |
static long |
DEFAULT_SESSIONCACHE_TIMEOUTSEC |
static String |
PROTOCOL |
Modifier and Type | Method and Description |
---|---|
static io.netty.handler.ssl.SslContext |
getInstanceForClient(KeyManagerFactory keyManagerFactory,
X509Certificate[] x509Certificates) |
static io.netty.handler.ssl.SslContext |
getInstanceForServer(KeyManagerFactory keyManagerFactory,
X509Certificate[] x509Certificates,
boolean clientNeedAuthentication,
boolean startTls,
List<String> ciphers,
String... protocols) |
static SSLContext |
getInstanceJDK() |
static SecureRandom |
getSecureRandom() |
static void |
initializedTlsContext() |
public static final String PROTOCOL
public static final long DEFAULT_SESSIONCACHE_TIMEOUTSEC
public static final long DEFAULT_SESSIONCACHE_SIZE
public static void initializedTlsContext()
public static SecureRandom getSecureRandom()
public static io.netty.handler.ssl.SslContext getInstanceForServer(KeyManagerFactory keyManagerFactory, X509Certificate[] x509Certificates, boolean clientNeedAuthentication, boolean startTls, List<String> ciphers, String... protocols) throws SSLException
SSLException
public static io.netty.handler.ssl.SslContext getInstanceForClient(KeyManagerFactory keyManagerFactory, X509Certificate[] x509Certificates) throws NoSuchAlgorithmException, NoSuchProviderException, SSLException
public static SSLContext getInstanceJDK() throws NoSuchAlgorithmException
NoSuchAlgorithmException
Copyright © 2009–2022 Waarp. All rights reserved.