diff options
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r-- | crypto/src/asn1/x9/X9ECParameters.cs | 25 | ||||
-rw-r--r-- | crypto/src/asn1/x9/X9ECPoint.cs | 5 |
2 files changed, 3 insertions, 27 deletions
diff --git a/crypto/src/asn1/x9/X9ECParameters.cs b/crypto/src/asn1/x9/X9ECParameters.cs index aa84063b8..c484fc62d 100644 --- a/crypto/src/asn1/x9/X9ECParameters.cs +++ b/crypto/src/asn1/x9/X9ECParameters.cs @@ -67,9 +67,9 @@ namespace Org.BouncyCastle.Asn1.X9 } public X9ECParameters( - ECCurve curve, - ECPoint g, - BigInteger n) + ECCurve curve, + X9ECPoint g, + BigInteger n) : this(curve, g, n, null, null) { } @@ -84,25 +84,6 @@ namespace Org.BouncyCastle.Asn1.X9 } public X9ECParameters( - ECCurve curve, - ECPoint g, - BigInteger n, - BigInteger h) - : this(curve, g, n, h, null) - { - } - - public X9ECParameters( - ECCurve curve, - ECPoint g, - BigInteger n, - BigInteger h, - byte[] seed) - : this(curve, new X9ECPoint(g), n, h, seed) - { - } - - public X9ECParameters( ECCurve curve, X9ECPoint g, BigInteger n, diff --git a/crypto/src/asn1/x9/X9ECPoint.cs b/crypto/src/asn1/x9/X9ECPoint.cs index 7ef4f13bc..baa01835a 100644 --- a/crypto/src/asn1/x9/X9ECPoint.cs +++ b/crypto/src/asn1/x9/X9ECPoint.cs @@ -15,11 +15,6 @@ namespace Org.BouncyCastle.Asn1.X9 private ECCurve c; private ECPoint p; - public X9ECPoint(ECPoint p) - : this(p, false) - { - } - public X9ECPoint(ECPoint p, bool compressed) { this.p = p.Normalize(); |