Tabnine Logo
SECNamedCurves.getOID
Code IndexAdd Tabnine to your IDE (free)

How to use
getOID
method
in
org.spongycastle.asn1.sec.SECNamedCurves

Best Java code snippets using org.spongycastle.asn1.sec.SECNamedCurves.getOID (Showing top 4 results out of 315)

origin: com.madgag.spongycastle/core

public static X9ECParameters getByName(
  String name)
{
  ASN1ObjectIdentifier oid = getOID(name);
  return oid == null ? null : getByOID(oid);
}
origin: com.madgag/scprov-jdk15on

public static ASN1ObjectIdentifier getNamedCurveOid(
  String name)
{
  ASN1ObjectIdentifier oid = X962NamedCurves.getOID(name);
  
  if (oid == null)
  {
    oid = SECNamedCurves.getOID(name);
    if (oid == null)
    {
      oid = NISTNamedCurves.getOID(name);
    }
    if (oid == null)
    {
      oid = TeleTrusTNamedCurves.getOID(name);
    }
    if (oid == null)
    {
      oid = ECGOST3410NamedCurves.getOID(name);
    }
  }
  return oid;
}

origin: com.madgag.spongycastle/core

oid = SECNamedCurves.getOID(name);
origin: com.madgag.spongycastle/prov

private static ASN1ObjectIdentifier lookupOidByName(String name)
{
  ASN1ObjectIdentifier oid = X962NamedCurves.getOID(name);
  if (oid == null)
  {
    oid = SECNamedCurves.getOID(name);
    if (oid == null)
    {
      oid = NISTNamedCurves.getOID(name);
    }
    if (oid == null)
    {
      oid = TeleTrusTNamedCurves.getOID(name);
    }
    if (oid == null)
    {
      oid = ECGOST3410NamedCurves.getOID(name);
    }
    if (oid == null)
    {
      oid = ANSSINamedCurves.getOID(name);
    }
    if (oid == null)
    {
      oid = GMNamedCurves.getOID(name);
    }
  }
  return oid;
}
org.spongycastle.asn1.secSECNamedCurvesgetOID

Javadoc

return the object identifier signified by the passed in name. Null if there is no object identifier associated with name.

Popular methods of SECNamedCurves

  • getByName
  • getByOID
    return the X9ECParameters object for the named curve represented by the passed in object identifier.
  • getName
    return the named curve name represented by the given object identifier.
  • getNames
    returns an enumeration containing the name strings for curves contained in this structure.

Popular in Java

  • Reading from database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now