summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1TaggedObject.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-01-02 17:19:19 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-01-02 17:19:19 +0700
commit165f6ce1f276080e1a871cf7eba2f41b381abb3c (patch)
tree9e8b85b81098c4599f68a21da480e546ee27ed3d /crypto/src/asn1/Asn1TaggedObject.cs
parentUpdate X509NameTests, including some TODOs (diff)
downloadBouncyCastle.NET-ed25519-165f6ce1f276080e1a871cf7eba2f41b381abb3c.tar.xz
Refactoring around Asn1TaggedObject
Diffstat (limited to 'crypto/src/asn1/Asn1TaggedObject.cs')
-rw-r--r--crypto/src/asn1/Asn1TaggedObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/Asn1TaggedObject.cs b/crypto/src/asn1/Asn1TaggedObject.cs
index a5a5e9506..01d10cbb2 100644
--- a/crypto/src/asn1/Asn1TaggedObject.cs
+++ b/crypto/src/asn1/Asn1TaggedObject.cs
@@ -231,7 +231,7 @@ namespace Org.BouncyCastle.Asn1
         [Obsolete("Will be removed")]
         public Asn1Object GetObject()
         {
-            Asn1Utilities.CheckContextTag(this);
+            Asn1Utilities.CheckContextTagClass(this);
 
             return m_object.ToAsn1Object();
         }