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() |
Certificate[] | getPeerCertificates() Gets the peer certificates. |
byte[] | getSessionId() |
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 String getCipherSuite()
getCipherSuite
in interface SSLSessionInfo
public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException, RenegotiationRequiredException
SSLSessionInfo
getPeerCertificates
in interface SSLSessionInfo
SSLPeerUnverifiedException
RenegotiationRequiredException
- If the sessionpublic void renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode) throws IOException
SSLSessionInfo
renegotiate
in interface SSLSessionInfo
exchange
- The exchangesslClientAuthMode
- The client cert mode to use when renegotiatingIOException
public void renegotiateBufferRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode) throws IOException
IOException
public void renegotiateNoRequest(HttpServerExchange exchange, org.xnio.SslClientAuthMode newAuthMode) throws IOException
IOException
public X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException, RenegotiationRequiredException
getPeerCertificateChain
in interface SSLSessionInfo
SSLPeerUnverifiedException
RenegotiationRequiredException
Copyright © 2015 JBoss by Red Hat. All rights reserved.