Options
All
  • Public
  • Public/Protected
  • All
Menu

An instance of this class must be included as the transportSecurity member of the MeldApp for an access-controlled domain. This is because transport security must be available before the clone can connect to the domain.

experimental

Hierarchy

  • MeldAclTransportSecurity

Implements

Index

Constructors

constructor

Methods

Protected decryptOperation

  • decryptOperation(data: Buffer, key: CryptoKey): Promise<Buffer>
  • Parameters

    • data: Buffer
    • key: CryptoKey

    Returns Promise<Buffer>

Protected encryptOperation

  • encryptOperation(data: Buffer, key: CryptoKey): Promise<Buffer>
  • Parameters

    • data: Buffer
    • key: CryptoKey

    Returns Promise<Buffer>

Protected getPublicKey

  • getPublicKey(principalId: Iri, state: MeldReadState): Promise<CryptoKey>
  • Parameters

    Returns Promise<CryptoKey>

sign

verify

wire

  • wire(data: Buffer, type: MeldMessageType, direction: "in" | "out", state: MeldReadState | null): Promise<Buffer>

Legend

  • Constructor
  • Property
  • Method
  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Protected method
  • Static method

Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.8.2 Source code licensed MIT. Privacy policy