diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-06 16:49:01 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-06 16:49:01 +0700 |
commit | f95bf7d8236238258a8a882450c04546ffc79aa1 (patch) | |
tree | 20d712305a7ab8200a889b98c01965777182d510 /crypto/src | |
parent | Add Asn1ObjectDescriptor (diff) | |
download | BouncyCastle.NET-ed25519-f95bf7d8236238258a8a882450c04546ffc79aa1.tar.xz |
Support parsing of Asn1ObjectDescriptor
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/asn1/Asn1InputStream.cs | 2 |
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: |