public class TlsEndpointContext extends TcpEndpointContext
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_CIPHER |
static String |
KEY_SESSION_ID |
KEY_CONNECTION_IDKEY_PREFIX_NONE_CRITICALID_TRUNC_LENGTH| Constructor and Description |
|---|
TlsEndpointContext(InetSocketAddress peerAddress,
Principal peerIdentity,
String connectionId,
String sessionId,
String cipher)
Creates a new correlation context from TLS session parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCipher() |
String |
getSessionId() |
String |
toString() |
getConnectionIdaddEntries, entries, get, hasCriticalEntriesgetPeerAddress, getPeerAddressAsString, getPeerIdentity, getVirtualHostpublic static final String KEY_SESSION_ID
public static final String KEY_CIPHER
public TlsEndpointContext(InetSocketAddress peerAddress, Principal peerIdentity, String connectionId, String sessionId, String cipher)
peerAddress - peer address of endpoint contextpeerIdentity - peer identity of endpoint contextconnectionId - the connectionn's ID.sessionId - the session's ID.cipher - the cipher suite of the session's current read/write state.NullPointerException - if any of the params is null.public String getSessionId()
public String getCipher()
public String toString()
toString in class TcpEndpointContextCopyright © 2019 Eclipse Foundation. All rights reserved.