javax.net.ssl

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » net » javax.net.ssl 
javax.net.ssl
Provides classes for the secure socket package. Using the secure socket classes, you can communicate using SSL or a related security protocol to reliably detect any errors introduced into the network byte stream and to optionally encrypt the data and/or authenticate the communicating peers. @since 1.4
Java Source File NameTypeComment
CertPathTrustManagerParameters.javaClass A wrapper for CertPathParameters.
HandshakeCompletedEvent.javaClass This event indicates that an SSL handshake completed on a given SSL connection.
HandshakeCompletedListener.javaInterface This interface is implemented by any class which wants to receive notifications about the completion of an SSL protocol handshake on a given SSL connection.

When an SSL handshake completes, new security parameters will have been established.

HostnameVerifier.javaInterface This class is the base interface for hostname verification.

During handshaking, if the URL's hostname and the server's identification hostname mismatch, the verification mechanism can call back to implementers of this interface to determine if this connection should be allowed.

The policies can be certificate-based or may depend on other authentication schemes.

These callbacks are used when the default rules for URL hostname verification fail.
author:
   Brad R.

HttpsURLConnection.javaClass HttpsURLConnection extends HttpURLConnection with support for https-specific features.

See http://www.w3.org/pub/WWW/Protocols/ and RFC 2818 for more details on the https specification.

This class uses HostnameVerifier and SSLSocketFactory. There are default implementations defined for both classes. However, the implementations can be replaced on a per-class (static) or per-instance basis.

KeyManager.javaInterface This is the base interface for JSSE key managers.

KeyManagers are responsible for managing the key material which is used to authenticate the local SSLSocket to its peer.

KeyManagerFactory.javaClass This class acts as a factory for key managers based on a source of key material.
KeyManagerFactorySpi.javaClass This class defines the Service Provider Interface (SPI) for the KeyManagerFactory class.
KeyStoreBuilderParameters.javaClass A parameters object for X509KeyManagers that encapsulates a List of KeyStore.Builders.
ManagerFactoryParameters.javaInterface This class is the base interface for providing algorithm-specific information to a KeyManagerFactory or TrustManagerFactory.

In some cases, initialization parameters other than keystores may be needed by a provider.

SSLContext.javaClass Instances of this class represent a secure socket protocol implementation which acts as a factory for secure socket factories or SSLEngines.
SSLContextSpi.javaClass This class defines the Service Provider Interface (SPI) for the SSLContext class.
SSLEngine.javaClass A class which enables secure communications using protocols such as the Secure Sockets Layer (SSL) or IETF RFC 2246 "Transport Layer Security" (TLS) protocols, but is transport independent.

The secure communications modes include:

  • Integrity Protection.
SSLEngineResult.javaClass An encapsulation of the result state produced by SSLEngine I/O calls.

A SSLEngine provides a means for establishing secure communication sessions between two peers.

SSLException.javaClass Indicates some kind of error detected by an SSL subsystem.
SSLHandshakeException.javaClass Indicates that the client and server could not negotiate the desired level of security.
SSLKeyException.javaClass Reports a bad SSL key.
SSLParameters.javaClass Encapsulates parameters for an SSL/TLS connection.
SSLPeerUnverifiedException.javaClass Indicates that the peer's identity has not been verified.
SSLPermission.javaClass This class is for various network permissions. An SSLPermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.

The target name is the name of the network permission (see below).

SSLProtocolException.javaClass Reports an error in the operation of the SSL protocol.
SSLServerSocket.javaClass This class extends ServerSockets and provides secure server sockets using protocols such as the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.

Instances of this class are generally created using a SSLServerSocketFactory.

SSLServerSocketFactory.javaClass SSLServerSocketFactorys create SSLServerSockets.
SSLSession.javaInterface In SSL, sessions are used to describe an ongoing relationship between two entities.
SSLSessionBindingEvent.javaClass This event is propagated to a SSLSessionBindingListener. When a listener object is bound or unbound to an SSLSession by SSLSession.putValue(StringObject) or SSLSession.removeValue(String) , objects which implement the SSLSessionBindingListener will be receive an event of this type.
SSLSessionBindingListener.javaInterface This interface is implemented by objects which want to know when they are being bound or unbound from a SSLSession.
SSLSessionContext.javaInterface A SSLSessionContext represents a set of SSLSessions associated with a single entity.
SSLSocket.javaClass This class extends Sockets and provides secure socket using protocols such as the "Secure Sockets Layer" (SSL) or IETF "Transport Layer Security" (TLS) protocols.

Such sockets are normal stream sockets, but they add a layer of security protections over the underlying network transport protocol, such as TCP.

SSLSocketFactory.javaClass SSLSocketFactorys create SSLSockets.
TrustManager.javaInterface This is the base interface for JSSE trust managers.
TrustManagerFactory.javaClass This class acts as a factory for trust managers based on a source of trust material.
TrustManagerFactorySpi.javaClass This class defines the Service Provider Interface (SPI) for the TrustManagerFactory class.
X509ExtendedKeyManager.javaClass Abstract class that provides for extension of the X509KeyManager interface.

Methods in this class should be overriden to provide actual implementations.
since:
   1.5
version:
   1.7
author:
   Brad R.

X509KeyManager.javaInterface Instances of this interface manage which X509 certificate-based key pairs are used to authenticate the local side of a secure socket.
X509TrustManager.javaInterface Instance of this interface manage which X509 certificates may be used to authenticate the remote side of a secure socket.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.