- protocol
- the requested protocol to create a context for.
Documentation for this section has not yet been entered.
Type Reason Java.Security.NoSuchAlgorithmException if no installed provider can provide the requested protocol Java.Lang.NullPointerException if protocol is null (instead of NoSuchAlgorithmException as in 1.4 release)
Creates a new SSLContext instance for the specified protocol.
The following protocols are supported:
Protocol | API Levels |
---|---|
Default | 9+ |
SSL | 9+ |
SSLv3 | 9+ |
TLS | 1+ |
TLSv1 | 1+ |
TLSv1.1 | 16+ |
TLSv1.2 | 16+ |