diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-05 21:39:01 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-05 21:39:01 +0700 |
commit | 13c07a92d383bfa365fab2642306e39fe1156de6 (patch) | |
tree | b2c10888caedbf531fc92e0af18cc99bee3dd0b2 | |
parent | Fix Cmce key ASN.1 structures (diff) | |
download | BouncyCastle.NET-ed25519-13c07a92d383bfa365fab2642306e39fe1156de6.tar.xz |
Adjust new tag name
-rw-r--r-- | crypto/src/asn1/Asn1InputStream.cs | 2 | ||||
-rw-r--r-- | crypto/src/asn1/Asn1Tags.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/Asn1InputStream.cs b/crypto/src/asn1/Asn1InputStream.cs index e250fe500..a972460c4 100644 --- a/crypto/src/asn1/Asn1InputStream.cs +++ b/crypto/src/asn1/Asn1InputStream.cs @@ -456,7 +456,7 @@ namespace Org.BouncyCastle.Asn1 case Asn1Tags.TimeOfDay: case Asn1Tags.DateTime: case Asn1Tags.Duration: - case Asn1Tags.OidIri: + case Asn1Tags.ObjectIdentifierIri: case Asn1Tags.RelativeOidIri: throw new IOException("unsupported tag " + tagNo + " encountered"); default: diff --git a/crypto/src/asn1/Asn1Tags.cs b/crypto/src/asn1/Asn1Tags.cs index 5ae99b45b..812cbc2d5 100644 --- a/crypto/src/asn1/Asn1Tags.cs +++ b/crypto/src/asn1/Asn1Tags.cs @@ -41,7 +41,7 @@ namespace Org.BouncyCastle.Asn1 public const int TimeOfDay = 0x20; public const int DateTime = 0x21; public const int Duration = 0x22; - public const int OidIri = 0x23; + public const int ObjectIdentifierIri = 0x23; public const int RelativeOidIri = 0x24; // 0x25..: Reserved for addenda to this Recommendation | International Standard |