Interface Verifier

High level verifier, such as a named public key.

interface Verifier {
    verify: ((pkt: Verifier.Verifiable) => Promise<void>);
}

Hierarchy

  • Verifier

    Properties

    Properties

    verify: ((pkt: Verifier.Verifiable) => Promise<void>)

    Verify a packet.

    Type declaration

      • (pkt): Promise<void>
      • Parameters

        Returns Promise<void>

        Promise resolves upon good signature/policy or rejects upon bad signature/policy.