Package io.undertow.httpcore
Interface SSLSessionInfo
- All Known Implementing Classes:
ConnectionSSLSessionInfo
public interface SSLSessionInfo
SSL session information.
- Author:
- Stuart Douglas
-
Method Summary
Modifier and TypeMethodDescriptionGets the peer certificates.byte[]voidrenegotiate(ClientAuth sslClientAuthMode) Renegotiate in a blocking manner.
-
Method Details
-
getSessionId
byte[] getSessionId()- Returns:
- The SSL session ID, or null if this could not be determined.
-
getCipherSuite
String getCipherSuite() -
getPeerCertificates
Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException, RenegotiationRequiredExceptionGets the peer certificates. This may force SSL renegotiation.- Returns:
- The peer certificates
- Throws:
SSLPeerUnverifiedExceptionRenegotiationRequiredException- If the session
-
getPeerCertificateChain
X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException, RenegotiationRequiredException -
renegotiate
Renegotiate in a blocking manner. This will set the client aut- Parameters:
sslClientAuthMode- The client cert mode to use when renegotiating- Throws:
IOException
-
getSSLSession
SSLSession getSSLSession()- Returns:
- The SSL session, or null if it is not applicable
-