SSLNullSession

This is returned in the place of a {@link SSLSession} when no TLS connection could be negotiated, but one was requested from a method that can't throw an exception such as {@link javax.net.ssl.SSLSocket#getSession()} before {@link javax.net.ssl.SSLSocket#startHandshake()} is called.

Members

Functions

getApplicationBufferSize
int getApplicationBufferSize()
Undocumented in source. Be warned that the author may not have intended to support it.
getCipherSuite
string getCipherSuite()
Undocumented in source. Be warned that the author may not have intended to support it.
getCreationTime
long getCreationTime()
Undocumented in source. Be warned that the author may not have intended to support it.
getId
byte[] getId()
Undocumented in source. Be warned that the author may not have intended to support it.
getLastAccessedTime
long getLastAccessedTime()
Undocumented in source. Be warned that the author may not have intended to support it.
getPacketBufferSize
int getPacketBufferSize()
Undocumented in source. Be warned that the author may not have intended to support it.
getPeerHost
string getPeerHost()
Undocumented in source. Be warned that the author may not have intended to support it.
getPeerPort
int getPeerPort()
Undocumented in source. Be warned that the author may not have intended to support it.
getPeerSignedCertificateTimestamp
byte[] getPeerSignedCertificateTimestamp()
Undocumented in source. Be warned that the author may not have intended to support it.
getProtocol
string getProtocol()
Undocumented in source. Be warned that the author may not have intended to support it.
getRequestedServerName
string getRequestedServerName()
Undocumented in source. Be warned that the author may not have intended to support it.
getSessionContext
SSLSessionContext getSessionContext()
Undocumented in source. Be warned that the author may not have intended to support it.
getStatusResponses
List!(byte[]) getStatusResponses()
Undocumented in source. Be warned that the author may not have intended to support it.
getValue
Object getValue(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getValueNames
string[] getValueNames()
Undocumented in source. Be warned that the author may not have intended to support it.
invalidate
void invalidate()
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool isValid()
Undocumented in source. Be warned that the author may not have intended to support it.
putValue
void putValue(string name, Object value)
Undocumented in source. Be warned that the author may not have intended to support it.
removeValue
void removeValue(string name)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getNullSession
ConscryptSession getNullSession()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

INVALID_CIPHER
enum string INVALID_CIPHER;
Undocumented in source.

Inherited Members

From ConscryptSession

getRequestedServerName
string getRequestedServerName()
Undocumented in source.
getStatusResponses
List!(byte[]) getStatusResponses()

Returns the OCSP stapled response. Returns a copy of the internal arrays.

getPeerSignedCertificateTimestamp
byte[] getPeerSignedCertificateTimestamp()

Returns the signed certificate timestamp (SCT) received from the peer. Returns a copy of the internal array.

Meta