public interface SslService
| Modifier and Type | Method and Description |
|---|---|
SSLContext |
getContext(boolean initKeystore,
boolean initTruststore) |
SSLContext |
getUnsafeTrustAllContext(boolean initKeystore)
For testing we can disable the server certificate verification.
|
SSLContext getContext(boolean initKeystore, boolean initTruststore) throws KeyStoreNotAvailableException
KeyStoreNotAvailableExceptionSSLContext getUnsafeTrustAllContext(boolean initKeystore) throws KeyStoreNotAvailableException
initKeystore - KeyStoreNotAvailableExceptionCopyright © 2018–2019. All rights reserved.