API Docs for: 0.0.57
Show:

OpenSecureChannelRequest Class

Constructor

OpenSecureChannelRequest

(
  • options
)

Parameters:

  • options Object
    • [requestHeader] RequestHeader optional
    • [clientProtocolVersion] UInt32 optional

      The version of protocol used by the client

    • [requestType] SecurityTokenRequestType optional

      Whether the channel is being created or renewed

    • [securityMode] MessageSecurityMode optional

      The security mode to use with the channel.

    • [clientNonce] ByteString optional

      A random number generated by the client.

    • [requestedLifetime] UInt32 optional

      The channel lifetime in milliseconds.

Methods

binaryStoreSize

() Number
Calculate the required size to store this object in a binary stream.

Returns:

Number:

decode_debug

()

encode

(
  • stream
)

encode the object into a binary stream

Parameters:

isValid

() Boolean
verify that all object attributes values are valid according to schema

Returns:

Boolean:

toString

() String

Returns:

String:

Properties

clientNonce

ByteString

A random number generated by the client.

clientProtocolVersion

UInt32

The version of protocol used by the client

requestedLifetime

UInt32

The channel lifetime in milliseconds.

requestType

SecurityTokenRequestType

Whether the channel is being created or renewed

securityMode

MessageSecurityMode

The security mode to use with the channel.