public class BasicSSLSessionInfo extends Object implements SSLSessionInfo
| Constructor and Description |
|---|
BasicSSLSessionInfo(byte[] sessionId, String cypherSuite, String certificate) |
BasicSSLSessionInfo(String sessionId, String cypherSuite, String certificate) |
| 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. |
public BasicSSLSessionInfo(byte[] sessionId,
String cypherSuite,
String certificate)
throws CertificateException,
CertificateException sessionId - The SSL session IDcypherSuite - The cypher suite namecertificate - A string representation of the client certificateCertificateException - If the client cert could not be decodedCertificateException - If the client cert could not be decodedpublic BasicSSLSessionInfo(String sessionId, String cypherSuite, String certificate) throws CertificateException, CertificateException
sessionId - The Base64 encoded SSL session IDcypherSuite - The cypher suite namecertificate - A string representation of the client certificateCertificateException - If the client cert could not be decodedCertificateException - If the client cert could not be decodedpublic byte[] getSessionId()
getSessionId in interface SSLSessionInfopublic String getCipherSuite()
getCipherSuite in interface SSLSessionInfopublic Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException
SSLSessionInfogetPeerCertificates in interface SSLSessionInfoSSLPeerUnverifiedExceptionpublic X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException
getPeerCertificateChain in interface SSLSessionInfoSSLPeerUnverifiedExceptionpublic void renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode) throws IOException
SSLSessionInforenegotiate in interface SSLSessionInfoexchange - The exchangesslClientAuthMode - The client cert mode to use when renegotiatingIOExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.