Package com.castlabs.android.utils
Class SslUtils
java.lang.Object
com.castlabs.android.utils.SslUtils
Utility class for SSL related operations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SSLSocketFactorygetSslSocketFactory(PlayerController playerController) Unified way to getSSLSocketFactory.
-
Method Details
-
getSslSocketFactory
@Nullable public static SSLSocketFactory getSslSocketFactory(@Nullable PlayerController playerController) Unified way to getSSLSocketFactory. It checks if anSSLSocketFactoryis set on thePlayerControlleror globally viaPlayerSDK.SSL_KEY_STORE.- Parameters:
playerController-PlayerControllerif known andnullotherwise- Returns:
SSLSocketFactoryornullwhen unknown
-