Top Description Fields Constructors Methods
org.bouncycastle.asn1.anssi

public Class ANSSINamedCurves

extends Object
Class Inheritance
Imports
java.math.BigInteger, java.util.Enumeration, .Hashtable, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.x9.X9ECParameters, .X9ECParametersHolder, .X9ECPoint, org.bouncycastle.math.ec.ECCurve, org.bouncycastle.util.Strings, org.bouncycastle.util.encoders.Hex

ANSSI Elliptic curve table.

Field Summary

Modifier and TypeField and Description
pack-priv static final Hashtable<K, V>
pack-priv static X9ECParametersHolder
pack-priv static final Hashtable<K, V>
pack-priv static final Hashtable<K, V>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static ECCurve
pack-priv static void
private static BigInteger
public static X9ECParameters
public static X9ECParameters
getByOID(ASN1ObjectIdentifier
an object identifier representing a named curve, if present.
oid
)

return the X9ECParameters object for the named curve represented by the passed in object identifier.

public static String
getName(ASN1ObjectIdentifier oid)

return the named curve name represented by the given object identifier.

public static Enumeration<E>
getNames()

returns an enumeration containing the name strings for curves contained in this structure.

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

Field Detail

curvesback to summary
pack-priv static final Hashtable<K, V> curves
FRP256v1back to summary
pack-priv static X9ECParametersHolder FRP256v1
namesback to summary
pack-priv static final Hashtable<K, V> names
objIdsback to summary
pack-priv static final Hashtable<K, V> objIds

Constructor Detail

ANSSINamedCurvesback to summary
public ANSSINamedCurves()

Method Detail

configureCurveback to summary
private static ECCurve configureCurve(ECCurve curve)
defineCurveback to summary
pack-priv static void defineCurve(String name, ASN1ObjectIdentifier oid, X9ECParametersHolder holder)
fromHexback to summary
private static BigInteger fromHex(String hex)
getByNameback to summary
public static X9ECParameters getByName(String name)
getByOIDback to summary
public static X9ECParameters getByOID(ASN1ObjectIdentifier 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:ASN1ObjectIdentifier

an object identifier representing a named curve, if present.

getNameback to summary
public static String getName(ASN1ObjectIdentifier oid)

return the named curve name represented by the given object identifier.

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

returns an enumeration containing the name strings for curves contained in this structure.

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.