summary refs log tree commit diff
path: root/crypto/src/asn1/cmp/CertAnnContent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cmp/CertAnnContent.cs')
-rw-r--r--crypto/src/asn1/cmp/CertAnnContent.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/cmp/CertAnnContent.cs b/crypto/src/asn1/cmp/CertAnnContent.cs
index df0188746..30b1fad2f 100644
--- a/crypto/src/asn1/cmp/CertAnnContent.cs
+++ b/crypto/src/asn1/cmp/CertAnnContent.cs
@@ -12,7 +12,7 @@ namespace Org.BouncyCastle.Asn1.Cmp
     public class CertAnnContent
         : CmpCertificate
     {
-        public static CertAnnContent GetInstance(object obj)
+        public static new CertAnnContent GetInstance(object obj)
         {
             // TODO[cmp]
             if (obj == null)
@@ -46,7 +46,7 @@ namespace Org.BouncyCastle.Asn1.Cmp
             throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), nameof(obj));
         }
 
-        public static CertAnnContent GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
+        public static new CertAnnContent GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
         {
             // TODO[cmp]
             if (taggedObject == null)