Class ECDomainParametersIndex

java.lang.Object
org.bouncycastle.crypto.asymmetric.ECDomainParametersIndex

public class ECDomainParametersIndex extends Object
General index for Elliptic Curve parameters.
  • Constructor Details

    • ECDomainParametersIndex

      public ECDomainParametersIndex()
  • Method Details

    • lookupDomainParameters

      public static NamedECDomainParameters lookupDomainParameters(ASN1ObjectIdentifier paramOid)
      Retrieve an EC based domain parameter by OID. A custom curve will be returned if one is available.
      Parameters:
      paramOid - object identifier for the domain parameters.
      Returns:
      the matching domain parameters if found, null otherwise.
    • lookupDomainParameters

      public static NamedECDomainParameters lookupDomainParameters(ECDomainParametersID paramID)
      Retrieve an EC based domain parameter by parameter ID. A custom curve will be returned if one is available.
      Parameters:
      paramID - identifier for the domain parameters.
      Returns:
      the matching domain parameters if found, null otherwise.
    • lookupOID

      public static ASN1ObjectIdentifier lookupOID(ECDomainParameters domainParameters)