Package org.jclouds.docker.suppliers
Class SSLContextBuilder
- java.lang.Object
-
- org.jclouds.docker.suppliers.SSLContextBuilder
-
public class SSLContextBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description SSLContextBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
isClientKeyAndCertificateData
public static final boolean isClientKeyAndCertificateData(String key, String cert)
-
clientKeyAndCertificatePaths
public SSLContextBuilder clientKeyAndCertificatePaths(String keyPath, String certPath) throws IOException, CertificateException
- Throws:
IOException
CertificateException
-
clientKeyAndCertificateData
public SSLContextBuilder clientKeyAndCertificateData(String keyData, String certData) throws CertificateException
- Throws:
CertificateException
-
caCertificatePath
public SSLContextBuilder caCertificatePath(String caCertPath)
-
caCertificateData
public SSLContextBuilder caCertificateData(String caCertPath)
-
keyManager
public SSLContextBuilder keyManager(KeyManager keyManager)
-
trustManager
public SSLContextBuilder trustManager(TrustManager trustManager)
-
build
public SSLContext build() throws NoSuchAlgorithmException, KeyManagementException
-
-