Interface Verifier

High level verifier, such as a named public key.

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

Hierarchy

  • Verifier

    Properties

    Properties

    verify: ((pkt) => Promise<void>)

    Verify a packet.

    Type declaration

      • (pkt): Promise<void>
      • Verify a packet.

        Parameters

        Returns Promise<void>

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

    Returns

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

    Generated using TypeDoc