public class TlsContextUtil extends TcpContextUtil
| Constructor and Description |
|---|
TlsContextUtil(boolean warnMissingPrincipal)
Create utility instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.californium.elements.EndpointContext |
buildEndpointContext(io.netty.channel.Channel channel)
Build endpoint context related to the provided channel.
|
public TlsContextUtil(boolean warnMissingPrincipal)
warnMissingPrincipal - true, to log warn messages, if remote
peer's principal is not valid. false, to log trace
messages.public org.eclipse.californium.elements.EndpointContext buildEndpointContext(io.netty.channel.Channel channel)
buildEndpointContext in class TcpContextUtilchannel - channel of endpoint contextIllegalStateException - if no SslHandler is available or
the handshake isn't finished yet.Copyright © 2021 Eclipse Foundation. All rights reserved.