summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1Utilities.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/Asn1Utilities.cs')
-rw-r--r--crypto/src/asn1/Asn1Utilities.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/src/asn1/Asn1Utilities.cs b/crypto/src/asn1/Asn1Utilities.cs
index bdeb46483..dca2253ec 100644
--- a/crypto/src/asn1/Asn1Utilities.cs
+++ b/crypto/src/asn1/Asn1Utilities.cs
@@ -6,8 +6,7 @@ namespace Org.BouncyCastle.Asn1
     {
         public static string GetTagText(Asn1TaggedObject taggedObject)
         {
-            // TODO[asn1] Implement and use taggedObject.TagClass
-            return GetTagText(Asn1Tags.ContextSpecific, taggedObject.TagNo);
+            return GetTagText(taggedObject.TagClass, taggedObject.TagNo);
         }
 
         public static string GetTagText(int tagClass, int tagNo)