SSLSessionInfo
public 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 SSLSessionInfo
public java.lang.String getCipherSuite()
getCipherSuite
in interface SSLSessionInfo
public java.security.cert.Certificate[] getPeerCertificates() throws javax.net.ssl.SSLPeerUnverifiedException, RenegotiationRequiredException
SSLSessionInfo
getPeerCertificates
in interface SSLSessionInfo
javax.net.ssl.SSLPeerUnverifiedException
RenegotiationRequiredException
- If the sessionpublic javax.security.cert.X509Certificate[] getPeerCertificateChain() throws javax.net.ssl.SSLPeerUnverifiedException, RenegotiationRequiredException
getPeerCertificateChain
in interface SSLSessionInfo
javax.net.ssl.SSLPeerUnverifiedException
RenegotiationRequiredException
public void renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode) throws java.io.IOException
SSLSessionInfo
renegotiate
in interface SSLSessionInfo
exchange
- The exchangesslClientAuthMode
- The client cert mode to use when renegotiatingjava.io.IOException
public javax.net.ssl.SSLSession getSSLSession()
getSSLSession
in interface SSLSessionInfo
public void renegotiateBufferRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode) throws java.io.IOException
java.io.IOException
public void renegotiateNoRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode) throws java.io.IOException
java.io.IOException
Copyright © 2018. All rights reserved.