javax.net.ssl
Interface SSLSessionContext
- public interface SSLSessionContext
A SSLSessionContext is a grouping of SSLSessions associated with a single
entity. For example, it could be associated with a server or client
who participates in many sessions concurrently. This interface provides
methods for retrieving a SSLSession based on its ID, and allows such IDs
to be listed.
- See Also:
SSLSession
Method Summary |
java.util.Enumeration |
getIds()
Returns an Enumeration of all session id's |
SSLSession |
getSession(byte[] sessionId)
Returns the SSLSession bound to the specified session id, or null if
the specified session id does not refer to a valid SSLSession. |
getSession
public SSLSession getSession(byte[] sessionId)
- Returns the SSLSession bound to the specified session id, or null if
the specified session id does not refer to a valid SSLSession.
getIds
public java.util.Enumeration getIds()
- Returns an Enumeration of all session id's