Returns the signed certificate timestamp (SCT) received from the peer. Returns a copy of the internal array.
Returns the OCSP stapled response. Returns a copy of the internal arrays.
Returns the identifier assigned to this Connection.
Returns the context in which this session is bound. <P> This context may be unavailable in some environments, in which case this method returns null. <P> If the context is available and there is a security manager installed, the caller may require permission to access it or a security exception may be thrown. In a Java environment, the security manager's <code>checkPermission</code> method is called with a <code>SSLPermission("getSSLSessionContext")</code> permission.
Returns the time at which this Connection representation was created, in milliseconds since midnight, January 1, 1970 UTC.
Returns the last time this Connection representation was accessed by the session level infrastructure, in milliseconds since midnight, January 1, 1970 UTC. <P> Access indicates a new connection being established using session data. Application level operations, such as getting or setting a value associated with the session, are not reflected in this access time.
Invalidates the session. <P> Future connections will not be able to resume or join this session. However, any existing connection using this session can continue to use the session until the connection is closed.
Returns whether this session is valid and available for resuming or joining.
Binds the specified <code>value</code> object into the session's application layer data with the given <code>name</code>. <P> Any existing binding using the same <code>name</code> is replaced. If the new (or existing) <code>value</code> implements the <code>SSLSessionBindingListener</code> interface, the object represented by <code>value</code> is notified appropriately. <p> For security reasons, the same named values may not be visible across different access control contexts.
Returns the object bound to the given name in the session's application layer data. Returns null if there is no such binding. <p> For security reasons, the same named values may not be visible across different access control contexts.
Removes the object bound to the given name in the session's application layer data. Does nothing if there is no object bound to the given name. If the bound existing object implements the <code>SessionBindingListener</code> interface, it is notified appropriately. <p> For security reasons, the same named values may not be visible across different access control contexts.
Returns an array of the names of all the application layer data objects bound into the Connection. <p> For security reasons, the same named values may not be visible across different access control contexts.
Returns the name of the SSL cipher suite which is used for all connections in the session.
Returns the standard name of the protocol used for all connections in the session.
Returns the host name of the peer in this session. <P> For the server, this is the client's host; and for the client, it is the server's host. The name may not be a fully qualified host name or even a host name at all as it may represent a string encoding of the peer's network address. If such a name is desired, it might be resolved through a name service based on the value returned by this method. <P> This value is not authenticated and should not be relied upon. It is mainly used as a hint for <code>SSLSession</code> caching strategies.
Returns the port number of the peer in this session. <P> For the server, this is the client's port number; and for the client, it is the server's port number. <P> This value is not authenticated and should not be relied upon. It is mainly used as a hint for <code>SSLSession</code> caching strategies.
Gets the current size of the largest SSL/TLS packet that is expected when using this session. <P> A <code>SSLEngine</code> using this session may generate SSL/TLS packets of any size up to and including the value returned by this method. All <code>SSLEngine</code> network buffers should be sized at least this large to avoid insufficient space problems when performing <code>wrap</code> and <code>unwrap</code> calls.
Gets the current size of the largest application data that is expected when using this session. <P> <code>SSLEngine</code> application data buffers must be large enough to hold the application data from any inbound network application data packet received. Typically, outbound application data buffers can be of any size.
Extends the default interface for {@link SSLSession} to provide additional properties exposed by Conscrypt.