public final class OpenSslServerSessionContext extends OpenSslSessionContext
OpenSslSessionContext implementation which offers extra methods which are only useful for the server-side.| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
setSessionIdContext(byte[] sidCtx)
Set the context within which session be reused (server side only)
See
man SSL_CTX_set_session_id_context
|
getIds, getSession, getSessionCacheSize, getSessionTimeout, isSessionCacheEnabled, setSessionCacheEnabled, setSessionCacheSize, setSessionTimeout, setTicketKeys, setTicketKeys, statspublic boolean setSessionIdContext(byte[] sidCtx)
sidCtx - can be any kind of binary data, it is therefore possible to use e.g. the name
of the application and/or the hostname and/or service nametrue if success, false otherwise.