public interface SSLSessionInfo
Modifier and Type | Method and Description |
---|---|
static int |
calculateKeySize(String cipherSuite)
Given the name of a TLS/SSL cipher suite, return an int representing it effective stream
cipher key strength.
|
String |
getCipherSuite() |
default int |
getKeySize() |
X509Certificate[] |
getPeerCertificateChain()
Deprecated.
in favor of
getPeerCertificates() because SSLSession.getPeerCertificateChain()
throws java 15. |
Certificate[] |
getPeerCertificates()
Gets the peer certificates.
|
byte[] |
getSessionId() |
SSLSession |
getSSLSession() |
void |
renegotiate(HttpServerExchange exchange,
org.xnio.SslClientAuthMode sslClientAuthMode)
Renegotiate in a blocking manner.
|
static int calculateKeySize(String cipherSuite)
http://www.thesprawl.org/research/tls-and-ssl-cipher-suites/
cipherSuite
- String name of the TLS cipher suite.byte[] getSessionId()
String getCipherSuite()
default int getKeySize()
Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException, RenegotiationRequiredException
SSLPeerUnverifiedException
RenegotiationRequiredException
- If the session@Deprecated X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException, RenegotiationRequiredException
getPeerCertificates()
because SSLSession.getPeerCertificateChain()
throws java 15.void renegotiate(HttpServerExchange exchange, org.xnio.SslClientAuthMode sslClientAuthMode) throws IOException
exchange
- The exchangesslClientAuthMode
- The client cert mode to use when renegotiatingIOException
SSLSession getSSLSession()
Copyright © 2021 JBoss by Red Hat. All rights reserved.