Top Description Constructors Methods
org.bouncycastle.asn1.x9

public Class ECNamedCurveTable

extends Object
Class Inheritance
Imports
java.util.Enumeration, .Vector, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.anssi.ANSSINamedCurves, org.bouncycastle.asn1.cryptlib.CryptlibObjectIdentifiers, org.bouncycastle.asn1.cryptopro.ECGOST3410NamedCurves, org.bouncycastle.asn1.gm.GMNamedCurves, org.bouncycastle.asn1.nist.NISTNamedCurves, org.bouncycastle.asn1.sec.SECNamedCurves, org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves, org.bouncycastle.crypto.ec.CustomNamedCurves

A general class that reads all X9.62 style EC curve tables.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static void
public static X9ECParameters

Returns:

an X9ECParameters object or null if the curve is not available.
getByName
(String
the name of the curve requested
name
)

return a X9ECParameters object representing the passed in named curve.

public static X9ECParametersHolder
public static X9ECParameters

Returns:

an X9ECParameters object or null if the curve is not available.
getByOID
(ASN1ObjectIdentifier
the object id of the curve requested
oid
)

return a X9ECParameters object representing the passed in named curve.

public static X9ECParametersHolder
public static String

Returns:

a standard name for the curve.
getName
(ASN1ObjectIdentifier
the object id of the curve requested
oid
)

return a X9ECParameters object representing the passed in named curve.

public static Enumeration<E>

Returns:

an enumeration of the names of the available curves.
getNames
()

return an enumeration of the names of the available curves.

public static ASN1ObjectIdentifier

Returns:

the object identifier associated with name, if present.
getOID
(String name)

return the object identifier signified by the passed in name.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ECNamedCurveTableback to summary
public ECNamedCurveTable()

Method Detail

addEnumerationback to summary
private static void addEnumeration(Vector<E> v, Enumeration<E> e)
getByNameback to summary
public static X9ECParameters getByName(String name)

return a X9ECParameters object representing the passed in named curve. The routine returns null if the curve is not present.

Parameters
name:String

the name of the curve requested

Returns:X9ECParameters

an X9ECParameters object or null if the curve is not available.

getByNameLazyback to summary
public static X9ECParametersHolder getByNameLazy(String name)
getByOIDback to summary
public static X9ECParameters getByOID(ASN1ObjectIdentifier oid)

return a X9ECParameters object representing the passed in named curve.

Parameters
oid:ASN1ObjectIdentifier

the object id of the curve requested

Returns:X9ECParameters

an X9ECParameters object or null if the curve is not available.

getByOIDLazyback to summary
public static X9ECParametersHolder getByOIDLazy(ASN1ObjectIdentifier oid)
getNameback to summary
public static String getName(ASN1ObjectIdentifier oid)

return a X9ECParameters object representing the passed in named curve.

Parameters
oid:ASN1ObjectIdentifier

the object id of the curve requested

Returns:String

a standard name for the curve.

getNamesback to summary
public static Enumeration<E> getNames()

return an enumeration of the names of the available curves.

Returns:Enumeration<E>

an enumeration of the names of the available curves.

getOIDback to summary
public static ASN1ObjectIdentifier getOID(String name)

return the object identifier signified by the passed in name. Null if there is no object identifier associated with name.

Returns:ASN1ObjectIdentifier

the object identifier associated with name, if present.