PKI-Lite - v1.0.5
    Preparing search index...
    • Creates a choice type for ASN.1 CHOICE constructs. This is a helper function for creating discriminated union types.

      Type Parameters

      • T

        The choice type

      Parameters

      • name: string

        The name of the choice for debugging

      • choices: T

        The possible choice values

      Returns T

      The choice object with a custom toString tag