javax.net.ssl.package.html Maven / Gradle / Ivy
Show all versions of android-all Show documentation
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol. The API allows for both client and server
sockets, the selection of desired SSL and TLS protocol versions, and
the selection of desired cipher suites. The {@link
javax.net.ssl.X509TrustManager X509TrustManager} interface allows
customization of certificate chain verification. The
{@link javax.net.ssl.X509KeyManager X509KeyManager} interface and
{@link javax.net.ssl.X509ExtendedKeyManager X509ExtendedKeyManager}
class allows the specification of a server's required certificate or a
client's optional client certificate. Android uses code
from The Legion of the Bouncy
Castle and OpenSSL.