Package io.undertow.server
Class BasicSSLSessionInfo
java.lang.Object
io.undertow.server.BasicSSLSessionInfo
- All Implemented Interfaces:
io.undertow.httpcore.SSLSessionInfo
Basic SSL session information. This information is generally provided by a front end proxy.
- Author:
- Stuart Douglas
-
Constructor Summary
ConstructorsConstructorDescriptionBasicSSLSessionInfo(byte[] sessionId, String cypherSuite, String certificate) BasicSSLSessionInfo(String sessionId, String cypherSuite, String certificate) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidrenegotiate(io.undertow.httpcore.ClientAuth sslClientAuthMode)
-
Constructor Details
-
BasicSSLSessionInfo
public BasicSSLSessionInfo(byte[] sessionId, String cypherSuite, String certificate) throws CertificateException, CertificateException - Parameters:
sessionId- The SSL session IDcypherSuite- The cypher suite namecertificate- A string representation of the client certificate- Throws:
CertificateException- If the client cert could not be decodedCertificateException- If the client cert could not be decoded
-
BasicSSLSessionInfo
public BasicSSLSessionInfo(String sessionId, String cypherSuite, String certificate) throws CertificateException, CertificateException - Parameters:
sessionId- The Base64 encoded SSL session IDcypherSuite- The cypher suite namecertificate- A string representation of the client certificate- Throws:
CertificateException- If the client cert could not be decodedCertificateException- If the client cert could not be decoded
-
-
Method Details
-
getSessionId
public byte[] getSessionId()- Specified by:
getSessionIdin interfaceio.undertow.httpcore.SSLSessionInfo
-
getCipherSuite
- Specified by:
getCipherSuitein interfaceio.undertow.httpcore.SSLSessionInfo
-
getPeerCertificates
- Specified by:
getPeerCertificatesin interfaceio.undertow.httpcore.SSLSessionInfo- Throws:
SSLPeerUnverifiedException
-
getPeerCertificateChain
- Specified by:
getPeerCertificateChainin interfaceio.undertow.httpcore.SSLSessionInfo- Throws:
SSLPeerUnverifiedException
-
renegotiate
- Specified by:
renegotiatein interfaceio.undertow.httpcore.SSLSessionInfo- Throws:
IOException
-
getSSLSession
- Specified by:
getSSLSessionin interfaceio.undertow.httpcore.SSLSessionInfo
-