Class GMNamedCurves

java.lang.Object
org.bouncycastle.asn1.gm.GMNamedCurves

public class GMNamedCurves extends Object
Chinese standard GM named curves.
  • Constructor Details

    • GMNamedCurves

      public GMNamedCurves()
  • Method Details

    • getByName

      public static X9ECParameters getByName(String name)
    • getByNameLazy

      public static X9ECParametersHolder getByNameLazy(String name)
    • getByOID

      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 - an object identifier representing a named curve, if present.
    • getByOIDLazy

      public static X9ECParametersHolder getByOIDLazy(ASN1ObjectIdentifier oid)
    • getOID

      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:
      the object identifier associated with name, if present.
    • getName

      public static String getName(ASN1ObjectIdentifier oid)
      return the named curve name represented by the given object identifier.
    • getNames

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