Package org.bouncycastle.asn1.sec
Class SECNamedCurves
java.lang.Object
org.bouncycastle.asn1.sec.SECNamedCurves
public class SECNamedCurves extends Object
-
Constructor Summary
Constructors Constructor Description SECNamedCurves() -
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
-
SECNamedCurves
public SECNamedCurves()
-
-
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.
-