public class PkixSslContextFactory extends SslContextFactory
Constructor and Description |
---|
PkixSslContextFactory() |
Modifier and Type | Method and Description |
---|---|
protected DefaultSslContextFactory |
clone()
This class is likely to contain sensitive information; cloning is
therefore not allowed.
|
SSLContext |
createSslContext()
Creates a configured and initialised SSLContext by delegating the call to
the PKIXSSLContextFactory with has been initialised using 'init'.
|
void |
init(Series<Parameter> parameters)
Sets the following options according to parameters that may have been set
up directly in the HttpsServerHelper parameters.
|
public SSLContext createSslContext() throws Exception
createSslContext
in class SslContextFactory
Exception
DefaultSSLContextFactory.buildSSLContext()
public void init(Series<Parameter> parameters)
Parameter name | Value type | Default value | Description |
---|---|---|---|
keystorePath | String | javax.net.ssl.keyStore system property | SSL keystore path. |
keystorePassword | String | javax.net.ssl.keyStorePassword system property | SSL keystore password. |
keystoreType | String | javax.net.ssl.keyStoreType system property, otherwise default type | SSL keystore type |
keystoreProvider | String | javax.net.ssl.keyStoreProvider system property, otherwise default provider | SSL keystore provider |
keyPassword | String | SSL key password. | |
truststorePath | String | javax.net.ssl.trustStore system property | SSL truststore path. |
truststorePassword | String | javax.net.ssl.trustStorePassword system property | SSL truststore password. |
truststoreType | String | javax.net.ssl.trustStoreType system property, otherwise default type | SSL truststore type |
truststoreProvider | String | javax.net.ssl.trustStoreProvider system property, otherwise default provider | SSL truststore provider |
sslServerAlias | String | alias to use on the server side | |
sslProtocol | String: TLS/SSLv3 | TLS | SSL protocol |
disableCrl | String (true/false) | false | Set to true if you want not to use the CRLs |
crlUrl | String (URL) | URL of CRL to load (there can be multiple occurrences of this parameter). |
init
in class SslContextFactory
parameters
- Typically, the parameters that would have been obtained from
HttpsServerHelper.getParameters()protected final DefaultSslContextFactory clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2005–2013. All rights reserved.