SSLSession that is specific to our native implementation.
| Modifier and Type | Method and Description |
|---|---|
| public OpenSslSessionContext | getSessionContext()
Redeclares javax. |
| public void | handshakeFinished(byte[] id, String cipher, String protocol, byte[] peerCertificate, byte[][] peerCertificateChain, long creationTime, long timeout)
Called once the handshake has completed. |
| public Map | |
| public void | prepareHandshake()
Called on a handshake session before being exposed to a |
| public OpenSslSessionId | |
| public void | setLastAccessedTime(long
the time time)Set the last access time which will be returned by |
| public void | |
| public void | setSessionDetails(long
the time at which the session was created. creationTime, long the time at which the session was last accessed via the session infrastructure (cache). lastAccessedTime, OpenSslSessionId the id, Map<String, Object> OpenSslSessionIdthe key value store. See keyValueStorage)keyValueStorage().Set the details for the session which might come from a cache. |
| public void | tryExpandApplicationBufferSize(int
The packet size which exceeds the current packetLengthDataOnly)getApplicationBufferSize().Expand (or increase) the value returned by |
| getSessionContext | back to summary |
|---|---|
| public OpenSslSessionContext getSessionContext() Redeclares javax. Doc from javax. Returns the context in which this session is bound. This context may be unavailable in some environments, in which case this method returns null.
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
| |
| handshakeFinished | back to summary |
|---|---|
| public void handshakeFinished(byte[] id, String cipher, String protocol, byte[] peerCertificate, byte[][] peerCertificateChain, long creationTime, long timeout) throws SSLException Called once the handshake has completed. | |
| keyValueStorage | back to summary |
|---|---|
| public Map Return the underlying Map must be thread-safe!
| |
| prepareHandshake | back to summary |
|---|---|
| public void prepareHandshake() Called on a handshake session before being exposed to a | |
| sessionId | back to summary |
|---|---|
| public OpenSslSessionId sessionId() Return the | |
| setLastAccessedTime | back to summary |
|---|---|
| public void setLastAccessedTime(long time) Set the last access time which will be returned by
| |
| setLocalCertificate | back to summary |
|---|---|
| public void setLocalCertificate(Certificate[] localCertificate) Set the local certificate chain that is used. It is not expected that this array will be changed at all and so its ok to not copy the array. | |
| setSessionDetails | back to summary |
|---|---|
| public void setSessionDetails(long creationTime, long lastAccessedTime, OpenSslSessionId id, Map<String, Object> keyValueStorage) Set the details for the session which might come from a cache.
| |
| tryExpandApplicationBufferSize | back to summary |
|---|---|
| public void tryExpandApplicationBufferSize(int packetLengthDataOnly) Expand (or increase) the value returned by This is only called in a synchronized block, so no need to use atomic operations.
| |