SSLSessionInfopublic class ConnectionSSLSessionInfo extends java.lang.Object implements SSLSessionInfo
| Constructor | Description |
|---|---|
ConnectionSSLSessionInfo(org.xnio.channels.SslChannel channel,
HttpServerConnection serverConnection) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getCipherSuite() |
|
javax.security.cert.X509Certificate[] |
getPeerCertificateChain() |
|
java.security.cert.Certificate[] |
getPeerCertificates() |
Gets the peer certificates.
|
byte[] |
getSessionId() |
|
javax.net.ssl.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) |
public ConnectionSSLSessionInfo(org.xnio.channels.SslChannel channel,
HttpServerConnection serverConnection)
public byte[] getSessionId()
getSessionId in interface SSLSessionInfopublic java.lang.String getCipherSuite()
getCipherSuite in interface SSLSessionInfopublic java.security.cert.Certificate[] getPeerCertificates()
throws javax.net.ssl.SSLPeerUnverifiedException,
RenegotiationRequiredException
SSLSessionInfogetPeerCertificates in interface SSLSessionInfojavax.net.ssl.SSLPeerUnverifiedExceptionRenegotiationRequiredException - If the sessionpublic javax.security.cert.X509Certificate[] getPeerCertificateChain()
throws javax.net.ssl.SSLPeerUnverifiedException,
RenegotiationRequiredException
getPeerCertificateChain in interface SSLSessionInfojavax.net.ssl.SSLPeerUnverifiedExceptionRenegotiationRequiredExceptionpublic void renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode) throws java.io.IOException
SSLSessionInforenegotiate in interface SSLSessionInfoexchange - The exchangesslClientAuthMode - The client cert mode to use when renegotiatingjava.io.IOExceptionpublic javax.net.ssl.SSLSession getSSLSession()
getSSLSession in interface SSLSessionInfopublic void renegotiateBufferRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode) throws java.io.IOException
java.io.IOExceptionpublic void renegotiateNoRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode) throws java.io.IOException
java.io.IOExceptionCopyright © 2018. All rights reserved.