| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: int indicating the effective key entropy bit-length.String name of the TLS cipher suite. cipherSuite)Given the name of a TLS/SSL cipher suite, return an int representing it effective stream cipher key strength. |
| public String | |
| public default int | |
| public X509Certificate[] | getPeerCertificateChain()
Deprecated
since 2.2.3. in favor of
getPeerCertificates() because SSLSession#getPeerCertificateChain()
throws java 15.
This method is no longer supported on java 15 and should be avoided. |
| public Certificate[] | |
| public byte[] | |
| public SSLSession | |
| public void | renegotiate(HttpServerExchange
The exchange exchange, SslClientAuthMode The client cert mode to use when renegotiating sslClientAuthMode)Renegotiate in a blocking manner. |
| calculateKeySize | back to summary |
|---|---|
| public static int calculateKeySize(String cipherSuite) Given the name of a TLS/SSL cipher suite, return an int representing it effective stream cipher key strength. i.e. How much entropy material is in the key material being fed into the encryption routines. TLS 1.3 https://wiki.openssl.org/index.php/TLS1.3 https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4
| |
| getCipherSuite | back to summary |
|---|---|
| public String getCipherSuite() | |
| getKeySize | back to summary |
|---|---|
| public default int getKeySize() | |
| getPeerCertificateChain | back to summary |
|---|---|
| public X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException, RenegotiationRequiredException
Deprecated since 2.2.3. in favor of This method is no longer supported on java 15 and should be avoided.
| |
| getPeerCertificates | back to summary |
|---|---|
| public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException, RenegotiationRequiredException Gets the peer certificates. This may force SSL renegotiation.
| |
| getSessionId | back to summary |
|---|---|
public byte[] getSessionId()
| |
| getSSLSession | back to summary |
|---|---|
public SSLSession getSSLSession()
| |
| renegotiate | back to summary |
|---|---|
| public void renegotiate(HttpServerExchange exchange, SslClientAuthMode sslClientAuthMode) throws IOException Renegotiate in a blocking manner. This will set the client aut Todo we also need a non-blocking version
| |