From 913eada3ad9394f1327a1feb80a3261f7c6e55bb Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 18 Jul 2023 12:06:03 +0700 Subject: Deprecated Asn1TaggedObject.GetObject and refactor --- crypto/src/asn1/pkcs/ContentInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/asn1/pkcs/ContentInfo.cs') diff --git a/crypto/src/asn1/pkcs/ContentInfo.cs b/crypto/src/asn1/pkcs/ContentInfo.cs index 05d9a2033..0a19306f2 100644 --- a/crypto/src/asn1/pkcs/ContentInfo.cs +++ b/crypto/src/asn1/pkcs/ContentInfo.cs @@ -22,7 +22,7 @@ namespace Org.BouncyCastle.Asn1.Pkcs if (seq.Count > 1) { - content = ((Asn1TaggedObject) seq[1]).GetObject(); + content = ((Asn1TaggedObject) seq[1]).GetExplicitBaseObject(); } } -- cgit 1.4.1