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() |
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 SSLSessionInfoSSLPeerUnverifiedExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.