SSLContextBuilder
.@Deprecated public class SSLContextBuilder extends Object
SSLContext
instances.Constructor and Description |
---|
SSLContextBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SSLContext |
build()
Deprecated.
|
SSLContextBuilder |
loadKeyMaterial(KeyStore keystore,
char[] keyPassword)
Deprecated.
|
SSLContextBuilder |
loadKeyMaterial(KeyStore keystore,
char[] keyPassword,
PrivateKeyStrategy aliasStrategy)
Deprecated.
|
SSLContextBuilder |
loadTrustMaterial(KeyStore truststore)
Deprecated.
|
SSLContextBuilder |
loadTrustMaterial(KeyStore truststore,
TrustStrategy trustStrategy)
Deprecated.
|
SSLContextBuilder |
setSecureRandom(SecureRandom secureRandom)
Deprecated.
|
SSLContextBuilder |
useProtocol(String protocol)
Deprecated.
|
SSLContextBuilder |
useSSL()
Deprecated.
|
SSLContextBuilder |
useTLS()
Deprecated.
|
public SSLContextBuilder useTLS()
public SSLContextBuilder useSSL()
public SSLContextBuilder useProtocol(String protocol)
public SSLContextBuilder setSecureRandom(SecureRandom secureRandom)
public SSLContextBuilder loadTrustMaterial(KeyStore truststore, TrustStrategy trustStrategy) throws NoSuchAlgorithmException, KeyStoreException
public SSLContextBuilder loadTrustMaterial(KeyStore truststore) throws NoSuchAlgorithmException, KeyStoreException
public SSLContextBuilder loadKeyMaterial(KeyStore keystore, char[] keyPassword) throws NoSuchAlgorithmException, KeyStoreException, UnrecoverableKeyException
public SSLContextBuilder loadKeyMaterial(KeyStore keystore, char[] keyPassword, PrivateKeyStrategy aliasStrategy) throws NoSuchAlgorithmException, KeyStoreException, UnrecoverableKeyException
public SSLContext build() throws NoSuchAlgorithmException, KeyManagementException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.