public class Session extends Object
| Modifier and Type | Method and Description |
|---|---|
SessionChannel |
createSessionChannel(SecureChannel channel,
Client client)
Create new unactivated session channel.
|
NodeId |
getAuthenticationToken()
Getter for the field
authenticationToken. |
Cert |
getClientCertificate()
Getter for the field
clientCertificate. |
ByteString |
getClientNonce()
Getter for the field
clientNonce. |
PrivKey |
getClientPrivateKey()
Getter for the field
clientPrivateKey. |
NodeId |
getDiagnosticsInfo()
Getter for the field
diagnosticsInfo. |
EndpointDescription |
getEndpoint()
Getter for the field
endpoint. |
UnsignedInteger |
getMaxRequestMessageSize()
Getter for the field
maxRequestMessageSize. |
String |
getName()
Getter for the field
name. |
Cert |
getServerCertificate()
Getter for the field
serverCertificate. |
ByteString |
getServerNonce()
Returns the current active Server Nonce.
|
PrivKey |
getServerPrivateKey()
Getter for the field
serverPrivateKey. |
SignedSoftwareCertificate[] |
getServerSoftwareCertificates()
Getter for the field
serverSoftwareCertificates. |
NodeId |
getSessionId()
Getter for the field
sessionId. |
double |
getSessionTimeout()
Getter for the field
sessionTimeout. |
void |
setName(String name)
Setter for the field
name. |
public SessionChannel createSessionChannel(SecureChannel channel, Client client)
channel - securechannel secure channel to wrap session channel overclient - the clientpublic NodeId getAuthenticationToken()
Getter for the field authenticationToken.
NodeId object.public Cert getClientCertificate()
Getter for the field clientCertificate.
Cert object.public ByteString getClientNonce()
Getter for the field clientNonce.
public PrivKey getClientPrivateKey()
Getter for the field clientPrivateKey.
PrivKey object.public NodeId getDiagnosticsInfo()
Getter for the field diagnosticsInfo.
NodeId object.public EndpointDescription getEndpoint()
Getter for the field endpoint.
EndpointDescription object.public UnsignedInteger getMaxRequestMessageSize()
Getter for the field maxRequestMessageSize.
UnsignedInteger object.public Cert getServerCertificate()
Getter for the field serverCertificate.
Cert object.public ByteString getServerNonce()
public PrivKey getServerPrivateKey()
Getter for the field serverPrivateKey.
PrivKey object.public SignedSoftwareCertificate[] getServerSoftwareCertificates()
Getter for the field serverSoftwareCertificates.
SignedSoftwareCertificate objects.public double getSessionTimeout()
Getter for the field sessionTimeout.
Copyright © 2026. All rights reserved.