Interface EndPoint.SslSessionData
- Enclosing interface:
 EndPoint
public static interface EndPoint.SslSessionData
Interface representing bundle of SSLSession associated data.
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionstatic EndPoint.SslSessionDatafrom(SSLSession sslSession, String sslSessionId, String cipherSuite, X509Certificate[] peerCertificates) default intkeySize()Calculates the key size based on the cipher suite.static EndPoint.SslSessionDatawithCipherSuite(EndPoint.SslSessionData baseData, String cipherSuite) static EndPoint.SslSessionDatawithSslSessionId(EndPoint.SslSessionData baseData, String sslSessionId)  
- 
Field Details
- 
ATTRIBUTE
 
 - 
 - 
Method Details
- 
sslSession
SSLSession sslSession()- Returns:
 - The 
SSLSessionitself, if known, elsenull. 
 - 
sslSessionId
String sslSessionId()- Returns:
 - The 
SSLSession.getId()rendered as a hex string, if known, elsenull. 
 - 
cipherSuite
String cipherSuite()- Returns:
 - The 
SSLSession.getCipherSuite()if known, elsenull. 
 - 
peerCertificates
X509Certificate[] peerCertificates()- Returns:
 - The 
SSLSession.getPeerCertificates()s converted toX509Certificate, if known, elsenull. 
 - 
keySize
default int keySize()Calculates the key size based on the cipher suite.- Returns:
 - the key size.
 
 - 
from
static EndPoint.SslSessionData from(SSLSession sslSession, String sslSessionId, String cipherSuite, X509Certificate[] peerCertificates)  - 
withCipherSuite
static EndPoint.SslSessionData withCipherSuite(EndPoint.SslSessionData baseData, String cipherSuite)  - 
withSslSessionId
static EndPoint.SslSessionData withSslSessionId(EndPoint.SslSessionData baseData, String sslSessionId)  
 -