public class SslServiceImpl extends Object implements SslService
| Constructor and Description |
|---|
SslServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(SslConfig config) |
SSLContext |
getContext(boolean initKeystore,
boolean initTruststore) |
SSLContext |
getUnsafeTrustAllContext(boolean initKeystore)
For testing we can disable the server certificate verification.
|
protected void activate(SslConfig config)
public SSLContext getUnsafeTrustAllContext(boolean initKeystore) throws KeyStoreNotAvailableException
SslServicegetUnsafeTrustAllContext in interface SslServiceKeyStoreNotAvailableExceptionpublic SSLContext getContext(boolean initKeystore, boolean initTruststore) throws KeyStoreNotAvailableException
getContext in interface SslServiceKeyStoreNotAvailableExceptionCopyright © 2018–2019. All rights reserved.