public class NISTNamedCurves extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static Hashtable |
names |
(package private) static Hashtable |
objIds |
| Constructor and Description |
|---|
NISTNamedCurves() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
defineCurve(String name,
ASN1ObjectIdentifier oid) |
static X9ECParameters |
getByName(String name) |
static X9ECParameters |
getByOID(ASN1ObjectIdentifier oid)
return the X9ECParameters object for the named curve represented by
the passed in object identifier.
|
static String |
getName(ASN1ObjectIdentifier oid)
return the named curve name represented by the given object identifier.
|
static Enumeration |
getNames()
returns an enumeration containing the name strings for curves
contained in this structure.
|
static ASN1ObjectIdentifier |
getOID(String name)
return the object identifier signified by the passed in name.
|
public NISTNamedCurves()
static void defineCurve(String name, ASN1ObjectIdentifier oid)
public static X9ECParameters getByName(String name)
public static X9ECParameters getByOID(ASN1ObjectIdentifier oid)
oid - an object identifier representing a named curve, if present.public static ASN1ObjectIdentifier getOID(String name)
public static String getName(ASN1ObjectIdentifier oid)
public static Enumeration getNames()