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