diff options
Diffstat (limited to 'libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/spec/ECNamedCurveParameterSpec.java')
-rw-r--r-- | libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/spec/ECNamedCurveParameterSpec.java | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/spec/ECNamedCurveParameterSpec.java b/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/spec/ECNamedCurveParameterSpec.java deleted file mode 100644 index e7ef6c20b..000000000 --- a/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/spec/ECNamedCurveParameterSpec.java +++ /dev/null @@ -1,62 +0,0 @@ -package org.spongycastle.jce.spec; - -import java.math.BigInteger; - -import org.spongycastle.math.ec.ECCurve; -import org.spongycastle.math.ec.ECPoint; - -/** - * specification signifying that the curve parameters can also be - * refered to by name. - * <p> - * If you are using JDK 1.5 you should be looking at ECNamedCurveSpec. - */ -public class ECNamedCurveParameterSpec - extends ECParameterSpec -{ - private String name; - - public ECNamedCurveParameterSpec( - String name, - ECCurve curve, - ECPoint G, - BigInteger n) - { - super(curve, G, n); - - this.name = name; - } - - public ECNamedCurveParameterSpec( - String name, - ECCurve curve, - ECPoint G, - BigInteger n, - BigInteger h) - { - super(curve, G, n, h); - - this.name = name; - } - - public ECNamedCurveParameterSpec( - String name, - ECCurve curve, - ECPoint G, - BigInteger n, - BigInteger h, - byte[] seed) - { - super(curve, G, n, h, seed); - - this.name = name; - } - - /** - * return the name of the curve the EC domain parameters belong to. - */ - public String getName() - { - return name; - } -} |