From f95bf7d8236238258a8a882450c04546ffc79aa1 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sat, 6 Nov 2021 16:49:01 +0700 Subject: Support parsing of Asn1ObjectDescriptor --- crypto/src/asn1/Asn1InputStream.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto') diff --git a/crypto/src/asn1/Asn1InputStream.cs b/crypto/src/asn1/Asn1InputStream.cs index f00bc6ef6..935568550 100644 --- a/crypto/src/asn1/Asn1InputStream.cs +++ b/crypto/src/asn1/Asn1InputStream.cs @@ -448,6 +448,8 @@ namespace Org.BouncyCastle.Asn1 } case Asn1Tags.NumericString: return new DerNumericString(bytes); + case Asn1Tags.ObjectDescriptor: + return Asn1ObjectDescriptor.CreatePrimitive(bytes); case Asn1Tags.OctetString: return new DerOctetString(bytes); case Asn1Tags.PrintableString: -- cgit 1.4.1