fun getSSLContext(protocol: String = "Default", keyManagers: Array<out X509KeyManager>? = null, trustManagers: Array<out X509TrustManager>? = null, secureRandom: SecureRandom? = null): SSLContext
Returns a SSLContext instance for given protocol and X509 key and trust store managers. TrustManagers decide whether to allow connections and KeyManagers decide which key material to use.
protocol - SSL context protocol
keyManagers - X509KeyManager which manages your keystore
trustManagers - X509TrustManager which manages your trust store
secureRandom - SecureRandom instance.