Package org.bouncycastle.asn1.x9
Class ECNamedCurveTable
java.lang.Object
org.bouncycastle.asn1.x9.ECNamedCurveTable
A general class that reads all X9.62 style EC curve tables.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic X9ECParametersreturn a X9ECParameters object representing the passed in named curve.static X9ECParametersreturn a X9ECParameters object representing the passed in named curve.static Stringreturn a X9ECParameters object representing the passed in named curve.static EnumerationgetNames()return an enumeration of the names of the available curves.static ASN1ObjectIdentifierreturn the object identifier signified by the passed in name.
-
Constructor Details
-
ECNamedCurveTable
public ECNamedCurveTable()
-
-
Method Details
-
getByName
return a X9ECParameters object representing the passed in named curve. The routine returns null if the curve is not present.- Parameters:
name- the name of the curve requested- Returns:
- an X9ECParameters object or null if the curve is not available.
-
getOID
return the object identifier signified by the passed in name. Null if there is no object identifier associated with name.- Returns:
- the object identifier associated with name, if present.
-
getName
return a X9ECParameters object representing the passed in named curve.- Parameters:
oid- the object id of the curve requested- Returns:
- a standard name for the curve.
-
getByOID
return a X9ECParameters object representing the passed in named curve.- Parameters:
oid- the object id of the curve requested- Returns:
- an X9ECParameters object or null if the curve is not available.
-
getNames
return an enumeration of the names of the available curves.- Returns:
- an enumeration of the names of the available curves.
-