Top Fields Constructors Methods
io.undertow.server.protocol.http2

pack-priv Class Http2SslSessionInfo

extends Object
implements SSLSessionInfo
Class Inheritance
All Implemented Interfaces
io.undertow.server.SSLSessionInfo
Imports
java.io.IOException, java.security.cert.Certificate, javax.net.ssl.SSLPeerUnverifiedException, .SSLSession, javax.security.cert.X509Certificate, org.xnio.Options, .SslClientAuthMode, io.undertow.UndertowMessages, io.undertow.protocols.http2.Http2Channel, io.undertow.server.HttpServerExchange, .RenegotiationRequiredException, .SSLSessionInfo

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final Http2Channel

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String
public X509Certificate[]
getPeerCertificateChain()

Implements io.undertow.server.SSLSessionInfo.getPeerCertificateChain.

References Deprecated X509Certificate is deprecated or references (maybe indirectly) at least one deprecated element.

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
)

Implements io.undertow.server.SSLSessionInfo.renegotiate.

Renegotiate in a blocking manner.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

channelback to summary
private final Http2Channel channel

Constructor Detail

Http2SslSessionInfoback to summary
pack-priv Http2SslSessionInfo(Http2Channel channel)

Method Detail

getCipherSuiteback to summary
public String getCipherSuite()

Implements io.undertow.server.SSLSessionInfo.getCipherSuite.

Annotations
@Override
getPeerCertificateChainback to summary
public X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException, RenegotiationRequiredException

Implements io.undertow.server.SSLSessionInfo.getPeerCertificateChain.

Doc from io.undertow.server.SSLSessionInfo.getPeerCertificateChain.

References Deprecated

X509Certificate is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

This method is no longer supported on java 15 and should be avoided.

Annotations
@Override
getPeerCertificatesback to summary
public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException, RenegotiationRequiredException

Implements io.undertow.server.SSLSessionInfo.getPeerCertificates.

Doc from io.undertow.server.SSLSessionInfo.getPeerCertificates.

Gets the peer certificates. This may force SSL renegotiation.

Returns:Certificate[]

The peer certificates

Annotations
@Override
Exceptions
RenegotiationRequiredException:
If the session
getSessionIdback to summary
public byte[] getSessionId()

Implements io.undertow.server.SSLSessionInfo.getSessionId.

Returns:byte[]

Doc from io.undertow.server.SSLSessionInfo.getSessionId.

The SSL session ID, or null if this could not be determined.

Annotations
@Override
getSSLSessionback to summary
public SSLSession getSSLSession()

Implements io.undertow.server.SSLSessionInfo.getSSLSession.

Returns:SSLSession

Doc from io.undertow.server.SSLSessionInfo.getSSLSession.

The SSL session, or null if it is not applicable

Annotations
@Override
renegotiateback to summary
public void renegotiate(HttpServerExchange exchange, SslClientAuthMode sslClientAuthMode) throws IOException

Implements io.undertow.server.SSLSessionInfo.renegotiate.

Doc from io.undertow.server.SSLSessionInfo.renegotiate.

Renegotiate in a blocking manner. This will set the client aut

Todo

we also need a non-blocking version

Parameters
exchange:HttpServerExchange

The exchange

sslClientAuthMode:SslClientAuthMode

The client cert mode to use when renegotiating

Annotations
@Override