public class ConnectionSSLSessionInfo extends Object implements SSLSessionInfo
| Constructor and Description |
|---|
ConnectionSSLSessionInfo(org.xnio.channels.SslChannel channel,
HttpServerConnection serverConnection) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCipherSuite() |
X509Certificate[] |
getPeerCertificateChain()
This method is no longer supported on java 15 and should be avoided.
|
Certificate[] |
getPeerCertificates()
Gets the peer certificates.
|
byte[] |
getSessionId() |
SSLSession |
getSSLSession() |
void |
renegotiate(HttpServerExchange exchange,
org.xnio.SslClientAuthMode sslClientAuthMode)
Renegotiate in a blocking manner.
|
void |
renegotiateBufferRequest(HttpServerExchange exchange,
org.xnio.SslClientAuthMode newAuthMode) |
void |
renegotiateNoRequest(HttpServerExchange exchange,
org.xnio.SslClientAuthMode newAuthMode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculateKeySize, getKeySizepublic ConnectionSSLSessionInfo(org.xnio.channels.SslChannel channel,
HttpServerConnection serverConnection)
public byte[] getSessionId()
getSessionId in interface SSLSessionInfopublic String getCipherSuite()
getCipherSuite in interface SSLSessionInfopublic Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException, RenegotiationRequiredException
SSLSessionInfogetPeerCertificates in interface SSLSessionInfoSSLPeerUnverifiedExceptionRenegotiationRequiredException - If the sessionpublic X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException, RenegotiationRequiredException
SSLSessionInfogetPeerCertificateChain in interface SSLSessionInfoSSLPeerUnverifiedExceptionRenegotiationRequiredExceptionSSLSession.getPeerCertificateChain()public void renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode) throws IOException
SSLSessionInforenegotiate in interface SSLSessionInfoexchange - The exchangesslClientAuthMode - The client cert mode to use when renegotiatingIOExceptionpublic SSLSession getSSLSession()
getSSLSession in interface SSLSessionInfopublic void renegotiateBufferRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode) throws IOException
IOExceptionpublic void renegotiateNoRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode) throws IOException
IOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.