public class SslConfig
extends java.lang.Object
Constructor and Description |
---|
SslConfig() |
Modifier and Type | Method and Description |
---|---|
SslConfig |
setKeyStore(java.lang.String keyStore,
java.lang.String keyPass)
Configure key store parameters.
|
SslConfig |
setKeyStore(java.lang.String keyStore,
java.lang.String keyPass,
java.lang.String keyManagerType,
java.lang.String keyStoreType)
Configure key store parameters.
|
SslConfig |
setTrustStore(java.lang.String trustStore,
java.lang.String trustPass)
Configure trust store parameters.
|
SslConfig |
setTrustStore(java.lang.String trustStore,
java.lang.String trustPass,
java.lang.String trustManagerType,
java.lang.String trustStoreType)
Configure trust store parameters.
|
public SslConfig setKeyStore(java.lang.String keyStore, java.lang.String keyPass, java.lang.String keyManagerType, java.lang.String keyStoreType)
keyStore
- the path to the key storekeyPass
- the password to access the key storekeyManagerType
- the KeyManager typekeyStoreType
- the KeyStore typepublic SslConfig setKeyStore(java.lang.String keyStore, java.lang.String keyPass)
keyStore
- the path to the key storekeyPass
- the password to access the key storepublic SslConfig setTrustStore(java.lang.String trustStore, java.lang.String trustPass, java.lang.String trustManagerType, java.lang.String trustStoreType)
trustStore
- the path to the trust storetrustPass
- the password to access the trust storetrustManagerType
- the TrustManager typetrustStoreType
- the TrustStore typepublic SslConfig setTrustStore(java.lang.String trustStore, java.lang.String trustPass)
trustStore
- the path to the trust storetrustPass
- the password to access the trust storeCopyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.