summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1InputStream.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/Asn1InputStream.cs')
-rw-r--r--crypto/src/asn1/Asn1InputStream.cs2
1 files changed, 2 insertions, 0 deletions
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: