public interface OpenSslSession extends SSLSession
SSLSession sub-type that is used by our native implementation.| Modifier and Type | Method and Description |
|---|---|
OpenSslSessionContext |
getSessionContext () |
boolean |
hasPeerCertificates ()
Returns true if the peer has provided certificates during the handshake.
|
getApplicationBufferSize, getCipherSuite, getCreationTime, getId, getLastAccessedTime, getLocalCertificates, getLocalPrincipal, getPacketBufferSize, getPeerCertificateChain, getPeerCertificates, getPeerHost, getPeerPort, getPeerPrincipal, getProtocol, getValue, getValueNames, invalidate, isValid, putValue, removeValue boolean hasPeerCertificates()
This method is similar to SSLSession.getPeerCertificates() but it does not throw a
SSLPeerUnverifiedException if no certs are provided, making it more efficient to check if a mTLS
connection is used.
OpenSslSessionContext getSessionContext()
getSessionContext in interface SSLSession Copyright © 2008–2025 The Netty Project. All rights reserved.