Package org.bouncycastle.asn1.x9
Class X962NamedCurves
java.lang.Object
org.bouncycastle.asn1.x9.X962NamedCurves
Table of the current named curves defined in X.962 EC-DSA.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic X9ECParametersstatic X9ECParametersreturn the X9ECParameters object for the named curve represented by the passed in object identifier.static Stringreturn the named curve name represented by the given object identifier.static EnumerationgetNames()returns an enumeration containing the name strings for curves contained in this structure.static ASN1ObjectIdentifierreturn the object identifier signified by the passed in name.
-
Constructor Details
-
X962NamedCurves
public X962NamedCurves()
-
-
Method Details
-
getByName
-
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.
-
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.
-