Closed JonathanWilbur closed 5 years ago
I created the ASN1TagClass enum with an incorrect mapping of names to values. Notice that I accidentally skipped 2 below:
ASN1TagClass
https://github.com/JonathanWilbur/asn1-ts/blob/b7502f2c6e7f07c5f930c00d04bd4fd1984b6075/source/values.ts#L6-L12
This resulted in context-specific tags being encoded as PRIVATE tag class, and PRIVATE tag class being encoded as UNIVERSAL.
PRIVATE
UNIVERSAL
I created the
ASN1TagClass
enum with an incorrect mapping of names to values. Notice that I accidentally skipped 2 below:https://github.com/JonathanWilbur/asn1-ts/blob/b7502f2c6e7f07c5f930c00d04bd4fd1984b6075/source/values.ts#L6-L12
This resulted in context-specific tags being encoded as
PRIVATE
tag class, andPRIVATE
tag class being encoded asUNIVERSAL
.