SSL_SESSION.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static native void | |
| public static native byte[] | Returns: the session id as byte array representation obtained via SSL_SESSION_get_id.the SSL_SESSION instance (SSL_SESSION *) session)See SSL_SESSION_get_id. |
| public static native long | Returns: returns the time at which the session was established. The time is given in seconds since the Epochthe SSL_SESSION instance (SSL_SESSION *) session)See SSL_SESSION_get_time. |
| public static native long | Returns: returns the timeout for the session. The time is given in seconds since the Epochthe SSL_SESSION instance (SSL_SESSION *) session) |
| public static native long | Returns: returns the timeout for the session before this call. The time is given in seconds since the Epochthe SSL_SESSION instance (SSL_SESSION *) session, long timeout in seconds seconds) |
| public static native boolean | Returns: true if the session should be re-used once only, false otherwise.Will return |
| public static native boolean | Returns: true if successful, false otherwise.the SSL_SESSION instance (SSL_SESSION *) session)See SSL_SESSION_up_ref. |
| SSLSession | back to summary |
|---|---|
| private SSLSession() | |
| free | back to summary |
|---|---|
| public static native void free(long session) See SSL_SESSION_free.
| |
| getSessionId | back to summary |
|---|---|
| public static native byte[] getSessionId(long session) See SSL_SESSION_get_id.
| |
| getTime | back to summary |
|---|---|
| public static native long getTime(long session) See SSL_SESSION_get_time.
| |
| getTimeout | back to summary |
|---|---|
public static native long getTimeout(long session)
| |
| setTimeout | back to summary |
|---|---|
public static native long setTimeout(long session, long seconds)
| |
| shouldBeSingleUse | back to summary |
|---|---|
| public static native boolean shouldBeSingleUse(long session) Will return
| |
| upRef | back to summary |
|---|---|
| public static native boolean upRef(long session) See SSL_SESSION_up_ref.
| |