public class

NISTNamedCurves

extends Object
java.lang.Object
   ↳ org.bouncycastle.asn1.nist.NISTNamedCurves

Class Overview

Utility class for fetching curves using their NIST names as published in FIPS-PUB 186-2

Summary

Public Constructors
NISTNamedCurves()
Public Methods
static X9ECParameters getByName(String name)
static X9ECParameters getByOID(DERObjectIdentifier oid)
return the X9ECParameters object for the named curve represented by the passed in object identifier.
static String getName(DERObjectIdentifier oid)
return the named curve name represented by the given object identifier.
static Enumeration getNames()
returns an enumeration containing the name strings for curves contained in this structure.
static DERObjectIdentifier getOID(String name)
return the object identifier signified by the passed in name.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NISTNamedCurves ()

Public Methods

public static X9ECParameters getByName (String name)

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.

public static String getName (DERObjectIdentifier oid)

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

public static Enumeration getNames ()

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

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.