|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.conn.ssl.SSLContextBuilder
SSLContextBuilder
.
@Deprecated public class SSLContextBuilder
Builder for SSLContext
instances.
Constructor Summary | |
---|---|
SSLContextBuilder()
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSLContextBuilder()
Method Detail |
---|
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
NoSuchAlgorithmException
KeyStoreException
public SSLContextBuilder loadTrustMaterial(KeyStore truststore) throws NoSuchAlgorithmException, KeyStoreException
NoSuchAlgorithmException
KeyStoreException
public SSLContextBuilder loadKeyMaterial(KeyStore keystore, char[] keyPassword) throws NoSuchAlgorithmException, KeyStoreException, UnrecoverableKeyException
NoSuchAlgorithmException
KeyStoreException
UnrecoverableKeyException
public SSLContextBuilder loadKeyMaterial(KeyStore keystore, char[] keyPassword, PrivateKeyStrategy aliasStrategy) throws NoSuchAlgorithmException, KeyStoreException, UnrecoverableKeyException
NoSuchAlgorithmException
KeyStoreException
UnrecoverableKeyException
public SSLContext build() throws NoSuchAlgorithmException, KeyManagementException
NoSuchAlgorithmException
KeyManagementException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |