Package org.bouncycastle.asn1.x9
Class ECNamedCurveTable
- java.lang.Object
-
- org.bouncycastle.asn1.x9.ECNamedCurveTable
-
public class ECNamedCurveTable extends Object
A general class that reads all X9.62 style EC curve tables.
-
-
Constructor Summary
Constructors Constructor Description ECNamedCurveTable()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static X9ECParametersgetByName(String name)return a X9ECParameters object representing the passed in named curve.static X9ECParametersgetByOID(ASN1ObjectIdentifier oid)return a X9ECParameters object representing the passed in named curve.static EnumerationgetNames()return an enumeration of the names of the available curves.static ASN1ObjectIdentifiergetOID(String name)return the object identifier signified by the passed in name.
-
-
-
Method Detail
-
getByName
public static X9ECParameters getByName(String name)
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
public static ASN1ObjectIdentifier getOID(String name)
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.
-
getByOID
public static X9ECParameters getByOID(ASN1ObjectIdentifier oid)
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
public static Enumeration getNames()
return an enumeration of the names of the available curves.- Returns:
- an enumeration of the names of the available curves.
-
-