public static final class HttpConfiguration.SslConfiguration extends Object
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() |
KeyStore |
getKeyStore() |
HttpConfiguration.KeyStoreConfig |
getKeyStoreConfig() |
KeyStore |
getTrustStore() |
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()
public KeyStore getKeyStore()
public HttpConfiguration.KeyStoreConfig getKeyStoreConfig()
public CertStore getCrlCertStore()
Copyright © 2015. All Rights Reserved.