Creates a choice type for ASN.1 CHOICE constructs. This is a helper function for creating discriminated union types.
The choice type
The name of the choice for debugging
The possible choice values
The choice object with a custom toString tag
Creates a choice type for ASN.1 CHOICE constructs. This is a helper function for creating discriminated union types.