Class GatewayChannel<PeerAddress>Abstract

Channel whose node is a gateway.

Type Parameters

  • PeerAddress extends PeerInternetAddress

Hierarchy (view full)

Constructors

Properties

cryptoOptions: Partial<NodeCryptoOptions> = {}
deliveryAuthPath: CertificationPath
keyStores: KeyStoreSet
node: Node<GatewayPayload, PeerAddress>
peer: Peer<PeerAddress>

Methods

  • Generate and serialise a message with the given payload.

    Parameters

    • payload: ArrayBuffer | GatewayPayload

      The payload to encrypt and encapsulate

    • messageConstructor: RAMFMessageConstructor<GatewayPayload>

      The message class constructor

    • options: Partial<Omit<MessageOptions, "senderCaCertificateChain">> = {}

    Returns Promise<ArrayBuffer>

Generated using TypeDoc