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() |
byte[] |
getSessionId() |
SSLSession |
getSSLSession() |
void |
renegotiate(ClientAuth sslClientAuthMode) |
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
getPeerCertificates in interface SSLSessionInfoSSLPeerUnverifiedExceptionpublic X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException
getPeerCertificateChain in interface SSLSessionInfoSSLPeerUnverifiedExceptionpublic void renegotiate(ClientAuth sslClientAuthMode) throws IOException
renegotiate in interface SSLSessionInfoIOExceptionpublic SSLSession getSSLSession()
getSSLSession in interface SSLSessionInfoCopyright © 2020 JBoss by Red Hat. All rights reserved.