Package | Description |
---|---|
org.snf4j.core.session.ssl |
Provides classes and interfaces for configuration of SSL/TLS/DTLS sessions.
|
Modifier and Type | Method and Description |
---|---|
SSLContextBuilder |
SSLContextBuilder.cipherFilter(CipherFilter filter)
Configures a filter for cipher suites to enable, or
null to use
the default filter. |
SSLContextBuilder |
SSLContextBuilder.ciphers(String... ciphers)
Configures cipher suites to enable, or
null to enable the
recommended cipher suites. |
SSLContextBuilder |
SSLContextBuilder.clientAuth(ClientAuth clientAuth)
Configures the client authentication mode for a server-side
SSLEngine . |
SSLContextBuilder |
SSLContextBuilder.enableRetransmissions(boolean enable)
Configures if DTLS handshake retransmissions should be enabled.
|
static SSLContextBuilder |
SSLContextBuilder.forClient()
Creates a builder for a client-side
SSLContext . |
static SSLContextBuilder |
SSLContextBuilder.forServer(File keyFile,
char[] password,
File keyCertsFile)
Creates a builder for a server-side
SSLContext . |
static SSLContextBuilder |
SSLContextBuilder.forServer(File keyFile,
File keyCertsFile)
Creates a builder for a server-side
SSLContext . |
static SSLContextBuilder |
SSLContextBuilder.forServer(InputStream keyIn,
char[] password,
InputStream keyCertsIn)
Creates a builder for a server-side
SSLContext . |
static SSLContextBuilder |
SSLContextBuilder.forServer(InputStream keyIn,
InputStream keyCertsIn)
Creates a builder for a server-side
SSLContext . |
static SSLContextBuilder |
SSLContextBuilder.forServer(KeyManagerFactory keyFactory)
Creates a builder for a server-side
SSLContext . |
static SSLContextBuilder |
SSLContextBuilder.forServer(PrivateKey key,
char[] password,
X509Certificate... keyCerts)
Creates a builder for a server-side
SSLContext . |
static SSLContextBuilder |
SSLContextBuilder.forServer(PrivateKey key,
X509Certificate... keyCerts)
Creates a builder for a server-side
SSLContext . |
SSLContextBuilder |
SSLContextBuilder.keyManager(File keyFile,
char[] password,
File keyCertsFile)
Configures a private key with certificate chain for host identification.
|
SSLContextBuilder |
SSLContextBuilder.keyManager(File keyFile,
File keyCertsFile)
Configures a private key with certificate chain for host identification.
|
SSLContextBuilder |
SSLContextBuilder.keyManager(InputStream keyIn,
char[] password,
InputStream keyCertsIn)
Configures a private key with certificate chain for host identification.
|
SSLContextBuilder |
SSLContextBuilder.keyManager(InputStream keyIn,
InputStream keyCertsIn)
Configures a private key with certificate chain for host identification.
|
SSLContextBuilder |
SSLContextBuilder.keyManager(KeyManagerFactory keyFactory)
Configures a private key with certificate chain for host identification.
|
SSLContextBuilder |
SSLContextBuilder.keyManager(PrivateKey key,
char[] password,
X509Certificate... keyCerts)
Configures a private key with certificate chain for host identification.
|
SSLContextBuilder |
SSLContextBuilder.keyManager(PrivateKey key,
X509Certificate... keyCerts)
Configures a private key with certificate chain for host identification.
|
SSLContextBuilder |
SSLContextBuilder.maximumPacketSize(int maxSize)
Configures the maximum expected network packet size.
|
SSLContextBuilder |
SSLContextBuilder.protocol(String protocol)
Configures the protocol name of the
SSLContext to be created by this
builder. |
SSLContextBuilder |
SSLContextBuilder.protocolFilter(ProtocolFilter filter)
Configures a filter for protocol versions to enable, or
null to use
the default filter. |
SSLContextBuilder |
SSLContextBuilder.protocols(String... protocols)
Configures protocol versions to enable, or
null to enable the
recommended protocol versions. |
SSLContextBuilder |
SSLContextBuilder.provider(Provider provider)
Configures the provide of the
SSLContext to be created by this
builder. |
SSLContextBuilder |
SSLContextBuilder.providerName(String provider)
Configures the provider name of the
SSLContext to be created by this
builder. |
SSLContextBuilder |
SSLContextBuilder.secureRandom(SecureRandom random)
Configures a secure source of randomness.
|
SSLContextBuilder |
SSLContextBuilder.sessionCacheSize(int size)
Configures the size of the cache used for storing the SSL session objects.
|
SSLContextBuilder |
SSLContextBuilder.sessionTimeout(int timeout)
Configures the timeout limit for the cached SSL session objects.
|
SSLContextBuilder |
SSLContextBuilder.trustManager(File trustCertsFile)
Configures trusted certificates for remote hosts verification.
|
SSLContextBuilder |
SSLContextBuilder.trustManager(InputStream trustCertsIn)
Configures trusted certificates for remote hosts verification.
|
SSLContextBuilder |
SSLContextBuilder.trustManager(TrustManagerFactory trustFactory)
Configures trusted certificates for remote hosts verification.
|
SSLContextBuilder |
SSLContextBuilder.trustManager(X509Certificate... trustCerts)
Configures trusted certificates for remote hosts verification.
|
SSLContextBuilder |
SSLContextBuilder.useCiphersOrder(boolean useOrder)
Configures if the local cipher suites preferences should be honored during
SSL/TLS/DTLS handshaking
|
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.