createSslContext

open fun createSslContext(protocol: String): SSLContext

Factory method to create a new SSLContext for the key managers and trust managers managed by this instance.

Return

a new SSLContext instance

Parameters

protocol

the standard name of the SSL protocol. See getInstance