public class SSLContextBuilder extends Object
Constructor and Description |
---|
SSLContextBuilder() |
Modifier and Type | Method and Description |
---|---|
SSLContext |
build() |
SSLContextBuilder |
caCertificateData(String caCertPath) |
SSLContextBuilder |
caCertificatePath(String caCertPath) |
SSLContextBuilder |
clientKeyAndCertificateData(String keyData,
String certData) |
SSLContextBuilder |
clientKeyAndCertificatePaths(String keyPath,
String certPath) |
static boolean |
isClientKeyAndCertificateData(String key,
String cert) |
SSLContextBuilder |
keyManager(KeyManager keyManager) |
SSLContextBuilder |
trustManager(TrustManager trustManager) |
public static final boolean isClientKeyAndCertificateData(String key, String cert)
public SSLContextBuilder clientKeyAndCertificatePaths(String keyPath, String certPath) throws IOException, CertificateException
IOException
CertificateException
public SSLContextBuilder clientKeyAndCertificateData(String keyData, String certData) throws CertificateException
CertificateException
public SSLContextBuilder caCertificatePath(String caCertPath)
public SSLContextBuilder caCertificateData(String caCertPath)
public SSLContextBuilder keyManager(KeyManager keyManager)
public SSLContextBuilder trustManager(TrustManager trustManager)
public SSLContext build() throws NoSuchAlgorithmException, KeyManagementException
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.