public static final class HttpConfiguration.SslConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpConfiguration.SslConfiguration.Builder
Builder class for the
HttpConfiguration.SslConfiguration . |
Constructor and Description |
---|
HttpConfiguration.SslConfiguration(KeyStore trustStore) |
HttpConfiguration.SslConfiguration(KeyStore trustStore,
KeyStore keyStore,
HttpConfiguration.KeyStoreConfig keyStoreConfig) |
HttpConfiguration.SslConfiguration(KeyStore trustStore,
KeyStore keyStore,
HttpConfiguration.KeyStoreConfig keyStoreConfig,
CertStore crlCertStore) |
Modifier and Type | Method and Description |
---|---|
CertStore |
getCrlCertStore()
Returns the certificate revocation list
CertStore that would
be used for validating server certificates. |
String[] |
getEnabledCipherSuites()
Returns the names of the SSL cipher suites enabled for use by this
configuration.
|
String[] |
getEnabledProtocols()
Returns the names of cryptographic protocols enabled for use by this
configuration.
|
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. |
KeyStore |
getTrustStore()
Returns the keystore that contains certificates of trusted parties or
Certificate Authorities trusted to identify other parties.
|
public HttpConfiguration.SslConfiguration(KeyStore trustStore)
trustStore
- the keystore that contains the trusted
certificates; cannot be null
.public HttpConfiguration.SslConfiguration(KeyStore trustStore, KeyStore keyStore, HttpConfiguration.KeyStoreConfig keyStoreConfig)
trustStore
- the keystore that contains the trusted
certificates; cannot be null
.keyStore
- the keystore that contains the client certificates.keyStoreConfig
- the configuration for client certificates.public HttpConfiguration.SslConfiguration(KeyStore trustStore, KeyStore keyStore, HttpConfiguration.KeyStoreConfig keyStoreConfig, CertStore crlCertStore)
trustStore
- the keystore that contains the trusted
certificates; cannot 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 KeyStore getTrustStore()
null
public KeyStore getKeyStore()
null
getKeyStoreConfig()
public HttpConfiguration.KeyStoreConfig getKeyStoreConfig()
KeyStore
containing the client certificates for
authentication.null
getKeyStore()
public CertStore getCrlCertStore()
CertStore
that would
be used for validating server certificates.null
public String[] getEnabledProtocols()
null
public String[] getEnabledCipherSuites()
null
Copyright © 2016. All Rights Reserved.