Skip to content

Commit 627ad12

Browse files
committed
added missing NumericString ASN.1 type case
1 parent 960dbed commit 627ad12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Asn1Parser/Universal/Asn1String.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ public static Asn1String DecodeAnyString(Byte[] rawData, IEnumerable<Asn1Type> a
8888
return new Asn1BMPString(rawData);
8989
case Asn1Type.TeletexString:
9090
return new Asn1TeletexString(rawData);
91+
case Asn1Type.NumericString:
92+
return new Asn1NumericString(rawData);
93+
9194
default:
9295
throw new Asn1InvalidTagException("Input data is not valid string.");
9396
}

0 commit comments

Comments
 (0)