public final class DNIeSSLSocketFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SSL_PROTOCOL |
| Modifier and Type | Method and Description |
|---|---|
static javax.net.ssl.SSLSocketFactory |
getInstance(java.security.KeyStore clientKeyStore,
java.security.KeyStore trustCertStore,
KeyManagerPolicy keyManagerPolicy,
android.content.Context context)
Get SSL Socket factory.
|
static javax.net.ssl.SSLSocketFactory |
getInstance(java.security.KeyStore clientKeyStore,
java.security.KeyStore trustCertStore,
KeyManagerPolicy keyManagerPolicy,
java.lang.String protocol,
android.content.Context context)
Get SSL Socket factory.
|
public static final java.lang.String DEFAULT_SSL_PROTOCOL
public static javax.net.ssl.SSLSocketFactory getInstance(java.security.KeyStore clientKeyStore,
java.security.KeyStore trustCertStore,
KeyManagerPolicy keyManagerPolicy,
android.content.Context context)
throws java.security.GeneralSecurityException
clientKeyStore - container with the client certificates for authentication.trustCertStore - container with the trusted CA (Certificate Authority) certificate keystore for server authentication.keyManagerPolicy - policies for retrieving the client certificate for authentication.context - application context.java.security.GeneralSecurityExceptionjava.lang.IllegalArgumentException - if context is null.public static javax.net.ssl.SSLSocketFactory getInstance(java.security.KeyStore clientKeyStore,
java.security.KeyStore trustCertStore,
KeyManagerPolicy keyManagerPolicy,
java.lang.String protocol,
android.content.Context context)
throws java.security.GeneralSecurityException
clientKeyStore - container with the client certificates for authentication.trustCertStore - container with the trusted CA (Certificate Authority) certificate keystore for server authentication.keyManagerPolicy - policies for retrieving the client certificate for authentication.protocol - SSL/TLS protocol ("SSLv3", "TLSv1", ""TLSv1.1", "TLSv2", etc.).context - application context.java.lang.IllegalArgumentException - if protocol or context is null.java.security.GeneralSecurityException