Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

uses

MessageBuilder

uses

MessageChunker

Hierarchy

  • EventEmitter
    • ServerSecureChannelLayer

Index

Constructors

constructor

Properties

_on_response

_on_response: (msgType: string, response: Response, message: Message) => void

Type declaration

    • (msgType: string, response: Response, message: Message): void
    • Parameters

      • msgType: string
      • response: Response
      • message: Message

      Returns void

channelId

channelId: number

clientCertificate

clientCertificate: Buffer

clientNonce

clientNonce: Buffer

Optional clientSecurityHeader

clientSecurityHeader: SecurityHeader

Readonly messageBuilder

messageBuilder: MessageBuilder

receiverCertificate

receiverCertificate: Buffer

securityHeader

securityMode

securityMode: MessageSecurityMode

the channel message security mode

securityPolicy

securityPolicy: SecurityPolicy

the channel message security policy

sessionTokens

sessionTokens: {}

Type declaration

timeout

timeout: number

Static registry

registry: ObjectRegistry

Static throttleTime

throttleTime: number

Accessors

aborted

  • get aborted(): boolean
  • Returns boolean

bytesRead

  • get bytesRead(): number
  • the number of bytes read so far by this channel

    Returns number

bytesWritten

  • get bytesWritten(): number
  • the number of bytes written so far by this channel

    Returns number

certificateManager

  • Returns ICertificateManager

hasSession

  • get hasSession(): boolean
  • true when the secure channel is assigned to a active session

    Returns boolean

hashKey

  • get hashKey(): number
  • The unique hash key to identify this secure channel

    property

    hashKey

    Returns number

isOpened

  • get isOpened(): boolean
  • true when the secure channel has been opened successfully

    Returns boolean

remoteAddress

  • get remoteAddress(): string
  • Returns string

remotePort

  • get remotePort(): number
  • Returns number

securityTokenCount

  • get securityTokenCount(): number
  • Returns number

transactionsCount

  • get transactionsCount(): number
  • Returns number

Methods

_rememberClientAddressAndPort

  • _rememberClientAddressAndPort(): void
  • Returns void

abruptlyInterrupt

  • abruptlyInterrupt(): void
  • Returns void

close

  • Abruptly close a Server SecureChannel ,by terminating the underlying transport.

    method

    close

    async

    Parameters

    Returns void

dispose

  • dispose(): void
  • Returns void

getCertificate

  • getCertificate(): Buffer
  • method

    getCertificate

    Returns Buffer

    the X509 DER form certificate

getCertificateChain

  • getCertificateChain(): Buffer
  • method

    getCertificateChain

    Returns Buffer

    the X509 DER form certificate

getEndpointDescription

  • the endpoint associated with this secure channel

    Parameters

    Returns EndpointDescription

getPrivateKey

  • getPrivateKey(): string
  • method

    getPrivateKey

    Returns string

    the privateKey

getRemoteFamily

  • getRemoteFamily(): string
  • Returns string

getRemoteIPAddress

  • getRemoteIPAddress(): string
  • Returns string

getRemotePort

  • getRemotePort(): number
  • Returns number

getSignatureLength

  • getSignatureLength(): PublicKeyLength
  • Returns PublicKeyLength

has_endpoint_for_security_mode_and_policy

  • Parameters

    Returns boolean

init

  • method

    init

    async

    Parameters

    Returns void

send_fatal_error_and_abort

  • Parameters

    Returns void

send_response

  • send_response(msgType: string, response: Response, message: Message, callback?: ErrorCallback): void
  • method

    send_response

    async

    Parameters

    Returns void

setSecurity

  • Parameters

    Returns void

Generated using TypeDoc