Package org.bouncycastle.asn1.nist
Class NISTNamedCurves
java.lang.Object
org.bouncycastle.asn1.nist.NISTNamedCurves
Utility class for fetching curves using their NIST names as published in FIPS-PUB 186-3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic X9ECParameters
static X9ECParametersHolder
getByNameLazy
(String name) static X9ECParameters
return the X9ECParameters object for the named curve represented by the passed in object identifier.static X9ECParametersHolder
static String
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
return the object identifier signified by the passed in name.
-
Constructor Details
-
NISTNamedCurves
public NISTNamedCurves()
-
-
Method Details
-
getByName
-
getByNameLazy
-
getByOID
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.
-
getByOIDLazy
-
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 the named curve name represented by the given object identifier. -
getNames
returns an enumeration containing the name strings for curves contained in this structure.
-