From 545bd8d72f1be98af7ce0dc85f713a5f47b01d9d Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sat, 6 Nov 2021 19:31:27 +0700 Subject: Add TagClass property to Asn1TaggedObject --- crypto/src/asn1/Asn1Utilities.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crypto/src/asn1/Asn1Utilities.cs') 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) -- cgit 1.4.1