summary refs log tree commit diff
path: root/crypto/src/asn1/x9
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2020-02-12 12:18:22 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2020-02-12 12:18:22 +0700
commit708aa28a814f8daa66b11d2efb31191f9a7f8696 (patch)
tree412acaa9d26552ac6ee19bc97058465ff8ca52c0 /crypto/src/asn1/x9
parentEdDSA: guard against pub key mismatch (diff)
downloadBouncyCastle.NET-ed25519-708aa28a814f8daa66b11d2efb31191f9a7f8696.tar.xz
Mark some constructors obsolete (per bc-java)
Diffstat (limited to 'crypto/src/asn1/x9')
-rw-r--r--crypto/src/asn1/x9/X962Parameters.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/crypto/src/asn1/x9/X962Parameters.cs b/crypto/src/asn1/x9/X962Parameters.cs
index 04a5c9cbe..5bdabc647 100644
--- a/crypto/src/asn1/x9/X962Parameters.cs
+++ b/crypto/src/asn1/x9/X962Parameters.cs
@@ -49,7 +49,14 @@ namespace Org.BouncyCastle.Asn1.X9
             this._params = namedCurve;
         }
 
-		public X962Parameters(
+        public X962Parameters(
+            Asn1Null obj)
+        {
+            this._params = obj;
+        }
+
+        [Obsolete("Use 'GetInstance' instead")]
+        public X962Parameters(
             Asn1Object obj)
         {
             this._params = obj;