Java javax.net.ssl SSLSession fields, constructors, methods, implement or subclass

Example usage for Java javax.net.ssl SSLSession fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.net.ssl SSLSession.

The text is from its open source code.

Implementation

javax.net.ssl.SSLSession has the following implementations.
Click this link to see all its implementation.

Method

intgetApplicationBufferSize()
Gets the current size of the largest application data that is expected when using this session.
StringgetCipherSuite()
Returns the name of the SSL cipher suite which is used for all connections in the session.
ClassgetClass()
Returns the runtime class of this Object .
longgetCreationTime()
Returns the time at which this Session representation was created, in milliseconds since midnight, January 1, 1970 UTC.
byte[]getId()
Returns the identifier assigned to this Session.
longgetLastAccessedTime()
Returns the last time this Session representation was accessed by the session level infrastructure, in milliseconds since midnight, January 1, 1970 UTC.
java.security.cert.Certificate[]getLocalCertificates()
Returns the certificate(s) that were sent to the peer during handshaking.
intgetPacketBufferSize()
Gets the current size of the largest SSL/TLS/DTLS packet that is expected when using this session.
javax.security.cert.X509Certificate[]getPeerCertificateChain()
Returns the identity of the peer which was identified as part of defining the session.
java.security.cert.Certificate[]getPeerCertificates()
Returns the identity of the peer which was established as part of defining the session.
StringgetPeerHost()
Returns the host name of the peer in this session.
intgetPeerPort()
Returns the port number of the peer in this session.
PrincipalgetPeerPrincipal()
Returns the identity of the peer which was established as part of defining the session.
StringgetProtocol()
Returns the standard name of the protocol used for all connections in the session.
SSLSessionContextgetSessionContext()
Returns the context in which this session is bound.
ObjectgetValue(String name)
Returns the object bound to the given name in the session's application layer data.
voidinvalidate()
Invalidates the session.
booleanisValid()
Returns whether this session is valid and available for resuming or joining.
voidputValue(String name, Object value)
Binds the specified value object into the session's application layer data with the given name .