org.bouncycastle.asn1.teletrust

Class TeleTrusTNamedCurves

public class TeleTrusTNamedCurves extends Object

elliptic curves defined in "ECC Brainpool Standard Curves and Curve Generation" http://www.ecc-brainpool.org/download/draft_pkix_additional_ecc_dp.txt
Method Summary
static X9ECParametersgetByName(String name)
static X9ECParametersgetByOID(DERObjectIdentifier oid)
return the X9ECParameters object for the named curve represented by the passed in object identifier.
static StringgetName(DERObjectIdentifier 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 DERObjectIdentifiergetOID(String name)
return the object identifier signified by the passed in name.
static DERObjectIdentifiergetOID(short curvesize, boolean twisted)

Method Detail

getByName

public static X9ECParameters getByName(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.

getName

public static String getName(DERObjectIdentifier oid)
return the named curve name represented by the given object identifier.

getNames

public static Enumeration getNames()
returns an enumeration containing the name strings for curves contained in this structure.

getOID

public static DERObjectIdentifier getOID(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.

getOID

public static DERObjectIdentifier getOID(short curvesize, boolean twisted)