diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-04 17:04:49 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-04 17:04:49 +0700 |
commit | 9e54af03befaafdd722841ad472c1112b9ac3c00 (patch) | |
tree | ba2f79d9df6a96239cb95db139c080adac4da082 /crypto/src/asn1/cmp/OobCert.cs | |
parent | Fix parameter name (diff) | |
download | BouncyCastle.NET-ed25519-9e54af03befaafdd722841ad472c1112b9ac3c00.tar.xz |
Fix warnings
Diffstat (limited to 'crypto/src/asn1/cmp/OobCert.cs')
-rw-r--r-- | crypto/src/asn1/cmp/OobCert.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/cmp/OobCert.cs b/crypto/src/asn1/cmp/OobCert.cs index d47b87215..82d5afe55 100644 --- a/crypto/src/asn1/cmp/OobCert.cs +++ b/crypto/src/asn1/cmp/OobCert.cs @@ -12,7 +12,7 @@ namespace Org.BouncyCastle.Asn1.Cmp public class OobCert : CmpCertificate { - public static OobCert GetInstance(object obj) + public static new OobCert GetInstance(object obj) { if (obj == null) return null; @@ -44,7 +44,7 @@ namespace Org.BouncyCastle.Asn1.Cmp throw new ArgumentException("Invalid object: " + Platform.GetTypeName(obj), nameof(obj)); } - public static OobCert GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit) + public static new OobCert GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit) { if (taggedObject == null) return null; |