java.lang.Object | |
↳ | org.ocast.core.SSLConfig |
Define specific rules regarding SSL configuration for your device connections
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SSLConfig(X509TrustManager trustManager, SSLSocketFactory socketFactory, HostnameVerifier hostnameVerifier)
Configuration that will be used by the underlying
Link to setup SSL |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HostnameVerifier |
getHostnameVerifier()
Return the custom HostnameVerifier
| ||||||||||
SSLSocketFactory |
getSocketFactory()
Return the configured SocketFactory
| ||||||||||
X509TrustManager |
getTrustManager()
Return the configured TrustManager
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Configuration that will be used by the underlying Link
to setup SSL
trustManager | a TrustManager instance that suits your needs |
---|---|
socketFactory | a SocketFactory instance that suits your needs |
hostnameVerifier | a custom hostname verifier |
Return the custom HostnameVerifier
Return the configured SocketFactory
Return the configured TrustManager