static TlsContextOptions |
TlsContextOptions.createDefaultClient() |
Helper which creates a default set of TLS options for the current platform
|
static TlsContextOptions |
TlsContextOptions.createDefaultServer() |
Helper which creates a default set of TLS options for the current platform
|
static TlsContextOptions |
TlsContextOptions.createWithMtls(String certificate,
String privateKey) |
Helper which creates mutual TLS (mTLS) options using a certificate and private key
|
static TlsContextOptions |
TlsContextOptions.createWithMtlsCustomKeyOperations(TlsContextCustomKeyOperationOptions custom) |
Unix platforms only - Helper which creates mutual TLS (mTLS) options using the applied custom key operations.
|
static TlsContextOptions |
TlsContextOptions.createWithMtlsFromPath(String certificatePath,
String privateKeyPath) |
Helper which creates mutual TLS (mTLS) options using a certificate and private key
|
static TlsContextOptions |
TlsContextOptions.createWithMtlsJavaKeystore(KeyStore keyStore,
String certificateAlias,
String certificatePassword) |
Helper which creates mutual TLS (mTLS) options using a certificate and private key
stored in a Java keystore.
|
static TlsContextOptions |
TlsContextOptions.createWithMtlsPkcs11(TlsContextPkcs11Options pkcs11Options) |
Unix platforms only - Helper which creates mutual TLS (mTLS) options using a PKCS#11 library for private key operations.
|
static TlsContextOptions |
TlsContextOptions.createWithMtlsPkcs12(String pkcs12Path,
String pkcs12Password) |
Apple platforms only - Helper which creates mutual TLS (mTLS) options using PKCS12
|
static TlsContextOptions |
TlsContextOptions.createWithMtlsWindowsCertStorePath(String certificatePath) |
Windows platforms only - Helper which creates mutual TLS (mTLS) options using a
certificate in a Windows certificate store.
|
TlsContextOptions |
TlsContextOptions.withAlpnList(String alpnList) |
Sets the ALPN protocols list for any connections using this TlsContext
|
TlsContextOptions |
TlsContextOptions.withCertificateAuthority(String caRoot) |
Specifies the certificate authority to use.
|
TlsContextOptions |
TlsContextOptions.withCertificateAuthorityFromPath(String caDirPath,
String caFilePath) |
Specifies the certificate authority to use.
|
TlsContextOptions |
TlsContextOptions.withCipherPreference(TlsCipherPreference cipherPref) |
Sets the ciphers that the TlsContext will be able to use
|
TlsContextOptions |
TlsContextOptions.withMinimumTlsVersion(TlsContextOptions.TlsVersions version) |
Sets the minimum TLS version that the TlsContext will allow.
|
TlsContextOptions |
TlsContextOptions.withMtls(String certificate,
String privateKey) |
Enables mutual TLS (mTLS) on this TlsContext
|
TlsContextOptions |
TlsContextOptions.withMtlsCustomKeyOperations(TlsContextCustomKeyOperationOptions customKeyOperations) |
Unix platforms only, specifies TLS options for custom private key operations.
|
TlsContextOptions |
TlsContextOptions.withMtlsFromPath(String certificatePath,
String privateKeyPath) |
Enables mutual TLS (mTLS) on this TlsContext
|
TlsContextOptions |
TlsContextOptions.withMtlsPkcs11(TlsContextPkcs11Options pkcs11Options) |
Unix platforms only, specifies mutual TLS (mTLS) using a PKCS#11 library for private key operations.
|
TlsContextOptions |
TlsContextOptions.withMtlsPkcs12(String pkcs12Path,
String pkcs12Password) |
Apple platforms only, specifies mutual TLS (mTLS) using PKCS#12
|
TlsContextOptions |
TlsContextOptions.withMtlsWindowsCertStorePath(String certificatePath) |
Windows platforms only, specifies mutual TLS (mTLS) using a certificate in a Windows
certificate store.
|
TlsContextOptions |
TlsContextOptions.withVerifyPeer() |
Enables TLS peer verification of certificates
|
TlsContextOptions |
TlsContextOptions.withVerifyPeer(boolean verify) |
Sets whether or not TLS will validate the certificate from the peer.
|