org.bouncycastle.asn1.teletrust
Class TeleTrusTNamedCurves

java.lang.Object
  extended by org.bouncycastle.asn1.teletrust.TeleTrusTNamedCurves

public class TeleTrusTNamedCurves
extends java.lang.Object

elliptic curves defined in "ECC Brainpool Standard Curves and Curve Generation" http://www.ecc-brainpool.org/download/draft_pkix_additional_ecc_dp.txt


Field Summary
(package private) static X9ECParametersHolder brainpoolP160r1
           
(package private) static X9ECParametersHolder brainpoolP160t1
           
(package private) static X9ECParametersHolder brainpoolP192r1
           
(package private) static X9ECParametersHolder brainpoolP192t1
           
(package private) static X9ECParametersHolder brainpoolP224r1
           
(package private) static X9ECParametersHolder brainpoolP224t1
           
(package private) static X9ECParametersHolder brainpoolP256r1
           
(package private) static X9ECParametersHolder brainpoolP256t1
           
(package private) static X9ECParametersHolder brainpoolP320r1
           
(package private) static X9ECParametersHolder brainpoolP320t1
           
(package private) static X9ECParametersHolder brainpoolP384r1
           
(package private) static X9ECParametersHolder brainpoolP384t1
           
(package private) static X9ECParametersHolder brainpoolP512r1
           
(package private) static X9ECParametersHolder brainpoolP512t1
           
(package private) static java.util.Hashtable curves
           
(package private) static java.util.Hashtable names
           
(package private) static java.util.Hashtable objIds
           
 
Constructor Summary
TeleTrusTNamedCurves()
           
 
Method Summary
(package private) static void defineCurve(java.lang.String name, DERObjectIdentifier oid, X9ECParametersHolder holder)
           
static X9ECParameters getByName(java.lang.String name)
           
static X9ECParameters getByOID(DERObjectIdentifier oid)
          return the X9ECParameters object for the named curve represented by the passed in object identifier.
static java.lang.String getName(DERObjectIdentifier oid)
          return the named curve name represented by the given object identifier.
static java.util.Enumeration getNames()
          returns an enumeration containing the name strings for curves contained in this structure.
static DERObjectIdentifier getOID(short curvesize, boolean twisted)
           
static DERObjectIdentifier getOID(java.lang.String name)
          return the object identifier signified by the passed in name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

brainpoolP160r1

static X9ECParametersHolder brainpoolP160r1

brainpoolP160t1

static X9ECParametersHolder brainpoolP160t1

brainpoolP192r1

static X9ECParametersHolder brainpoolP192r1

brainpoolP192t1

static X9ECParametersHolder brainpoolP192t1

brainpoolP224r1

static X9ECParametersHolder brainpoolP224r1

brainpoolP224t1

static X9ECParametersHolder brainpoolP224t1

brainpoolP256r1

static X9ECParametersHolder brainpoolP256r1

brainpoolP256t1

static X9ECParametersHolder brainpoolP256t1

brainpoolP320r1

static X9ECParametersHolder brainpoolP320r1

brainpoolP320t1

static X9ECParametersHolder brainpoolP320t1

brainpoolP384r1

static X9ECParametersHolder brainpoolP384r1

brainpoolP384t1

static X9ECParametersHolder brainpoolP384t1

brainpoolP512r1

static X9ECParametersHolder brainpoolP512r1

brainpoolP512t1

static X9ECParametersHolder brainpoolP512t1

objIds

static final java.util.Hashtable objIds

curves

static final java.util.Hashtable curves

names

static final java.util.Hashtable names
Constructor Detail

TeleTrusTNamedCurves

public TeleTrusTNamedCurves()
Method Detail

defineCurve

static void defineCurve(java.lang.String name,
                        DERObjectIdentifier oid,
                        X9ECParametersHolder holder)

getByName

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

getOID

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

getName

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


getNames

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


getOID

public static DERObjectIdentifier getOID(short curvesize,
                                         boolean twisted)