SSLSession that is specific to our native implementation and ReferenceCounted to track native
resources.
| 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 OpenSslSessionId | |
| public void | |
| public void | |
| 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. | |
| sessionId | back to summary |
|---|---|
| public OpenSslSessionId sessionId() Return the | |
| setLocalCertificate | back to summary |
|---|---|
| public void setLocalCertificate(Certificate[] localCertificate) Set the local certificate chain that is used. It is unexpected this array will be changed at all, and so it's ok to not copy the array. | |
| setSessionId | back to summary |
|---|---|
| public void setSessionId(OpenSslSessionId id) Set the | |
| 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.
| |