|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.engine.ssl.SslContextFactory
org.restlet.ext.jsslutils.PkixSslContextFactory
public class PkixSslContextFactory
This SslContextFactory uses PKIXSSLContextFactory from jSSLutils and can be configured via parameters.
| Constructor Summary | |
|---|---|
PkixSslContextFactory()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PkixSslContextFactory()
| Method Detail |
|---|
public SSLContext createSslContext()
throws Exception
createSslContext in class SslContextFactoryExceptionDefaultSSLContextFactory.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 SslContextFactoryparameters - Typically, the parameters that would have been obtained from
HttpsServerHelper.getParameters()
protected final DefaultSslContextFactory clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||