public static final class HttpConfiguration.SslConfiguration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpConfiguration.SslConfiguration.Builder
Builder class for the
HttpConfiguration.SslConfiguration . |
Constructor and Description |
---|
HttpConfiguration.SslConfiguration(java.security.KeyStore trustStore)
Deprecated.
Replaced by
HttpConfiguration.SslConfiguration.Builder . |
HttpConfiguration.SslConfiguration(java.security.KeyStore trustStore,
java.security.KeyStore keyStore,
HttpConfiguration.KeyStoreConfig keyStoreConfig)
Deprecated.
Replaced by
HttpConfiguration.SslConfiguration.Builder . |
HttpConfiguration.SslConfiguration(java.security.KeyStore trustStore,
java.security.KeyStore keyStore,
HttpConfiguration.KeyStoreConfig keyStoreConfig,
java.security.cert.CertStore crlCertStore)
Deprecated.
Replaced by
HttpConfiguration.SslConfiguration.Builder . |
Modifier and Type | Method and Description |
---|---|
java.security.cert.CertStore |
getCrlCertStore()
Returns the certificate revocation list
CertStore that would
be used for validating server certificates. |
java.lang.String[] |
getEnabledCipherSuites()
Returns the names of the SSL cipher suites enabled for use by this
configuration.
|
java.lang.String[] |
getEnabledProtocols()
Returns the names of cryptographic protocols enabled for use by this
configuration.
|
java.security.KeyStore |
getKeyStore()
Returns the keystore which contains the certificates used to
authenticate the client during an SSL handshake.
|
HttpConfiguration.KeyStoreConfig |
getKeyStoreConfig()
Returns the configuration parameters (alias and password) for the
KeyStore containing the client certificates for
authentication. |
java.security.KeyStore |
getTrustStore()
Returns the keystore that contains certificates of trusted parties or
Certificate Authorities trusted to identify other parties.
|
boolean |
isCertificateValidationDisabled() |
boolean |
isHostnameVerificationDisabled() |
@Deprecated public HttpConfiguration.SslConfiguration(java.security.KeyStore trustStore)
HttpConfiguration.SslConfiguration.Builder
.trustStore
- the keystore that contains the trusted
certificates; may be null
.@Deprecated public HttpConfiguration.SslConfiguration(java.security.KeyStore trustStore, java.security.KeyStore keyStore, HttpConfiguration.KeyStoreConfig keyStoreConfig)
HttpConfiguration.SslConfiguration.Builder
.trustStore
- the keystore that contains the trusted
certificates; may be null
.keyStore
- the keystore that contains the client certificates.keyStoreConfig
- the configuration for client certificates.@Deprecated public HttpConfiguration.SslConfiguration(java.security.KeyStore trustStore, java.security.KeyStore keyStore, HttpConfiguration.KeyStoreConfig keyStoreConfig, java.security.cert.CertStore crlCertStore)
HttpConfiguration.SslConfiguration.Builder
.trustStore
- the keystore that contains the trusted
certificates; may be null
.keyStore
- the keystore that contains the client certificates.keyStoreConfig
- the configuration for client certificates.crlCertStore
- CRL CertStore that would be used for validating
server certificates.public java.security.KeyStore getTrustStore()
null
public java.security.KeyStore getKeyStore()
null
getKeyStoreConfig()
public HttpConfiguration.KeyStoreConfig getKeyStoreConfig()
KeyStore
containing the client certificates for
authentication.null
getKeyStore()
public java.security.cert.CertStore getCrlCertStore()
CertStore
that would
be used for validating server certificates.null
public java.lang.String[] getEnabledProtocols()
null
public java.lang.String[] getEnabledCipherSuites()
null
public boolean isHostnameVerificationDisabled()
true
if the standard process of verifying the
server's hostname is to be skipped; otherwise false
public boolean isCertificateValidationDisabled()
true
if the standard process of validating the
server's certificate is to be skipped; otherwise
false