Package org.bouncycastle.asn1.x9
Class X962NamedCurves
java.lang.Object
org.bouncycastle.asn1.x9.X962NamedCurves
public class X962NamedCurves extends Object
table of the current named curves defined in X.962 EC-DSA.
-
Constructor Summary
Constructors Constructor Description X962NamedCurves() -
Method Summary
Modifier and Type Method Description static X9ECParametersgetByName(String name)static X9ECParametersgetByOID(ASN1ObjectIdentifier oid)return the X9ECParameters object for the named curve represented by the passed in object identifier.static StringgetName(ASN1ObjectIdentifier oid)return 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 ASN1ObjectIdentifiergetOID(String name)return 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.
-