Java Security Technology Quest series: Java Extensible Security Architecture 12: JSSE (ii): JSSE Classes and interfaces

Source: Internet
Author: User

Guo Jia
Email: [Email protected]
Blog: http://blog.csdn.net/allenwells
Github:https://github.com/allenwell

    • Javax.net. ': Contains a set of core classes and interfaces for creating basic client and server sockets.
    • Javax. Net. SSL.,: Contains a set of core classes and interfaces for creating secure client and server SSL sockets and for secure httpurl connections.
    • Javax. Security. The Cert.,:java certificate Path API contains a package that provides basic certificate management functionality for Jsse.

Socketfactory (Socket factory class, Javax.net.SocketFactory): The factory class used to create the socket object.

Serversocketfactory is similar to the Socketfactory class, but it is dedicated to creating server sockets.

Sslsocket (SSL socket class, Javax.net.ssl.SSLSocket): Socket object that supports the SSL and TLS protocols.

Sslserversocket (SSL server Socket Class): Extended ServerSocket, and by using Secure Sockets Layer (SSL) or
Protocols such as Transport Layer Security (TLS) provide secure server sockets.

Sslengine (SSL engine Class): is an abstract class that allows for secure communication independent of transport using the SSL/TLS protocol, which is supported only by J2SE 5.0 and later.

Sslsockefactoay (SSL Socket factory class, Javax.net.ssl.SSLSocketFactory): The factory class used to create Sslsocket objects. To create a Sslsocket object, you must SSL the property in the properties file java.security. Socetfactory. The provider is set to the appropriate value to configure the Jsse provider.

Sslserversocketfactory is similar to the Sslsocketfactory class, but it is designed to create SSL-based server sockets.

SSLsession (SSL session class, Javax.net.ssl.SSLSession): Represents the session properties, which describe the sessions negotiated by two communication peers. The session context contains many properties, such as the shared master secret key, the network address of the remote peer, the time and usage, and so on.

Sslsessioncontext (SSL session Context class, Javax.net.ssl.SSLSessionContext): Represents a set of SSLsession objects associated with a communication peer (which can be a server or client).

Sslsessionbindingevent (SSL session-bound event class, Javax.net.ssl.SSLSessionBindingEvent): Represents an Event object that encapsulates an SSL session binding and a binding de-object.

SSLSESSIONBINIIR} (SSL session Binding Listener class, Javax.net.ssl.SSLSessionBindingListener): Represents the Listener interface implemented by an object and listens for sslsession bindings or binding cancellation events.

TrustManager (Trust manager class, javax. NET. SSL. TrustManager): Used to determine whether the authentication credential provided by the remote entity is a trusted interface.

Tyustmanagerfactory (trust manager factory class, javax. NET. SSL. Trustmanagerfactory): Is the engine class provided for the Jsse provider and can be used as a factory for one or more TrustManager objects. For the Sunjsse provider, the class returns a basic one-time trust manager.

Httpsuri,connection (Https URL connection class, javax. NET. SSL. Httpsurlconnection): Represents the HttpURLConnection object that supports the SSL and TLS protocols.

Hostnameverifier (host name Validator class, javax. NET. SSL. Hostnameverifier): Represents the interface class used to validate host names that can be used to verify the authenticity of requests from originating hosts. In the SSL handshake, if the hostname of the URL does not match the host name of the server identity, then the authentication mechanism uses that interface to verify the authenticity of the connection and its originating host.

Java Security Technology Quest series: Java Extensible Security Architecture 12: JSSE (ii): JSSE Classes and interfaces

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.