- km
- the key sources or null for default.
- tm
- the trust decision sources or null for default.
- sr
- the randomness source or null for default.
Type Reason Java.Security.KeyManagementException if initializing this instance fails.
Initializes this SSLContext instance. Three aspects of the context can be configured during initialization:
For each type of KeyManager or TrustManager used by this context, only the first matching instance from km or tm will be used. For example, only the first instance of Javax.Net.Ssl.IX509TrustManager from tm will be used.
For any parameter set to null defaults will be used. In that case, the installed security providers will be searched for the highest priority implementation of the required primitives. For km and tm, the highest priority implementation of Javax.Net.Ssl.KeyManagerFactory and Javax.Net.Ssl.TrustManagerFactory will be used to obtain the required types of KeyManager and TrustManager. For sr, the default SecureRandom implementation will be used.