Package org.gudy.bouncycastle.asn1.x9
Class X962NamedCurves
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.x9.X962NamedCurves
-
public class X962NamedCurves extends java.lang.Object
table of the current named curves defined in X.962 EC-DSA.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static ECCurve
cFp192v1
(package private) static ECCurve
cFp192v2
(package private) static ECCurve
cFp192v3
(package private) static ECCurve
cFp239v1
(package private) static ECCurve
cFp239v2
(package private) static ECCurve
cFp239v3
(package private) static ECCurve
cFp256v1
(package private) static java.util.Hashtable
curves
private static java.util.Set<java.lang.String>
missing_oids
(package private) static java.util.Hashtable
names
(package private) static java.util.Hashtable
objIds
(package private) static X9ECParameters
prime192v1
(package private) static X9ECParameters
prime192v2
(package private) static X9ECParameters
prime192v3
(package private) static X9ECParameters
prime239v1
(package private) static X9ECParameters
prime239v2
(package private) static X9ECParameters
prime239v3
(package private) static X9ECParameters
prime256v1
-
Constructor Summary
Constructors Constructor Description X962NamedCurves()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static X9ECParameters
getByName(java.lang.String name)
static X9ECParameters
getByOID(DERObjectIdentifier oid)
return the X9ECParameters object for the named curve represented by the passed in object identifier.static java.lang.String
getName(DERObjectIdentifier 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 DERObjectIdentifier
getOID(java.lang.String name)
return the object identifier signified by the passed in name.
-
-
-
Field Detail
-
cFp192v1
static final ECCurve cFp192v1
-
prime192v1
static final X9ECParameters prime192v1
-
cFp192v2
static final ECCurve cFp192v2
-
prime192v2
static final X9ECParameters prime192v2
-
cFp192v3
static final ECCurve cFp192v3
-
prime192v3
static final X9ECParameters prime192v3
-
cFp239v1
static final ECCurve cFp239v1
-
prime239v1
static final X9ECParameters prime239v1
-
cFp239v2
static final ECCurve cFp239v2
-
prime239v2
static final X9ECParameters prime239v2
-
cFp239v3
static final ECCurve cFp239v3
-
prime239v3
static final X9ECParameters prime239v3
-
cFp256v1
static final ECCurve cFp256v1
-
prime256v1
static final X9ECParameters prime256v1
-
objIds
static final java.util.Hashtable objIds
-
curves
static final java.util.Hashtable curves
-
names
static final java.util.Hashtable names
-
missing_oids
private static java.util.Set<java.lang.String> missing_oids
-
-
Method Detail
-
getByName
public static X9ECParameters getByName(java.lang.String name)
-
getByOID
public static X9ECParameters getByOID(DERObjectIdentifier oid)
return the X9ECParameters object for the named curve represented by the passed in object identifier. Null if the curve isn't present.- Parameters:
oid
- an object identifier representing a named curve, if present.
-
getOID
public static DERObjectIdentifier getOID(java.lang.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.
-
getName
public static java.lang.String getName(DERObjectIdentifier oid)
return the named curve name represented by the given object identifier.
-
getNames
public static java.util.Enumeration getNames()
returns an enumeration containing the name strings for curves contained in this structure.
-
-