Top Description Fields Constructors Methods
org.bouncycastle.jce.spec

public Class ECNamedCurveSpec

extends ECParameterSpec
Class Inheritance
Imports
java.math.BigInteger, java.security.spec.ECField, .ECFieldF2m, .ECFieldFp, .ECPoint, .EllipticCurve, org.bouncycastle.jcajce.provider.asymmetric.util.EC5Util, org.bouncycastle.math.ec.ECAlgorithms, .ECCurve, org.bouncycastle.math.field.FiniteField, .Polynomial, .PolynomialExtensionField, org.bouncycastle.util.Arrays

specification signifying that the curve parameters can also be referred to by name.

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
public
public
public
public
public
ECNamedCurveSpec(String name, ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed)

Method Summary

Modifier and TypeMethod and Description
private static EllipticCurve
convertCurve(ECCurve curve, byte[] seed)

private static ECField
public String
getName()

return the name of the curve the EC domain parameters belong to.

Inherited from java.security.spec.ECParameterSpec:
getCofactorgetCurvegetGeneratorgetOrder

Field Detail

nameback to summary
private String name

Constructor Detail

ECNamedCurveSpecback to summary
public ECNamedCurveSpec(String name, ECCurve curve, ECPoint g, BigInteger n)
ECNamedCurveSpecback to summary
public ECNamedCurveSpec(String name, EllipticCurve curve, ECPoint g, BigInteger n)
ECNamedCurveSpecback to summary
public ECNamedCurveSpec(String name, ECCurve curve, ECPoint g, BigInteger n, BigInteger h)
ECNamedCurveSpecback to summary
public ECNamedCurveSpec(String name, EllipticCurve curve, ECPoint g, BigInteger n, BigInteger h)
ECNamedCurveSpecback to summary
public ECNamedCurveSpec(String name, ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed)

Method Detail

convertCurveback to summary
private static EllipticCurve convertCurve(ECCurve curve, byte[] seed)
convertFieldback to summary
private static ECField convertField(FiniteField field)
getNameback to summary
public String getName()

return the name of the curve the EC domain parameters belong to.