org.bouncycastle.jce.spec
Class ECNamedCurveParameterSpec
java.lang.Object
org.bouncycastle.jce.spec.ECParameterSpec
org.bouncycastle.jce.spec.ECNamedCurveParameterSpec
- All Implemented Interfaces:
- java.security.spec.AlgorithmParameterSpec
- public class ECNamedCurveParameterSpec
- extends ECParameterSpec
specification signifying that the curve parameters can also be
referred to by name.
If you are using JDK 1.5 you should be looking at ECNamedCurveSpec.
|
Constructor Summary |
ECNamedCurveParameterSpec(java.lang.String name,
ECCurve curve,
ECPoint G,
java.math.BigInteger n)
|
ECNamedCurveParameterSpec(java.lang.String name,
ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h)
|
ECNamedCurveParameterSpec(java.lang.String name,
ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed)
|
|
Method Summary |
java.lang.String |
getName()
return the name of the curve the EC domain parameters belong to. |
java.lang.String |
toString()
Return the curve name and its OID, for example "brainpoolP256r1 (1.3.36.3.3.2.8.1.1.7)", or a
description of the curve if there is no name. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ECNamedCurveParameterSpec
public ECNamedCurveParameterSpec(java.lang.String name,
ECCurve curve,
ECPoint G,
java.math.BigInteger n)
ECNamedCurveParameterSpec
public ECNamedCurveParameterSpec(java.lang.String name,
ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h)
ECNamedCurveParameterSpec
public ECNamedCurveParameterSpec(java.lang.String name,
ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed)
getName
public java.lang.String getName()
- return the name of the curve the EC domain parameters belong to.
toString
public java.lang.String toString()
- Return the curve name and its OID, for example "brainpoolP256r1 (1.3.36.3.3.2.8.1.1.7)", or a
description of the curve if there is no name.
- Overrides:
toString in class ECParameterSpec