Bouncy Castle Cryptography Library 1.49

org.bouncycastle.asn1.x9
Class ECNamedCurveTable

java.lang.Object
  extended by org.bouncycastle.asn1.x9.ECNamedCurveTable

public class ECNamedCurveTable
extends java.lang.Object

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


Constructor Summary
ECNamedCurveTable()
           
 
Method Summary
static X9ECParameters getByName(java.lang.String name)
          return a X9ECParameters object representing the passed in named curve.
static X9ECParameters getByOID(ASN1ObjectIdentifier oid)
          return a X9ECParameters object representing the passed in named curve.
static java.util.Enumeration getNames()
          return an enumeration of the names of the available curves.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECNamedCurveTable

public ECNamedCurveTable()
Method Detail

getByName

public static X9ECParameters getByName(java.lang.String name)
return a X9ECParameters object representing the passed in named curve. The routine returns null if the curve is not present.

Parameters:
name - the name of the curve requested
Returns:
an X9ECParameters object or null if the curve is not available.

getByOID

public static X9ECParameters getByOID(ASN1ObjectIdentifier oid)
return a X9ECParameters object representing the passed in named curve.

Parameters:
oid - the object id of the curve requested
Returns:
an X9ECParameters object or null if the curve is not available.

getNames

public static java.util.Enumeration getNames()
return an enumeration of the names of the available curves.

Returns:
an enumeration of the names of the available curves.

Bouncy Castle Cryptography Library 1.49