Class NamedECDomainParameters

java.lang.Object
org.bouncycastle.crypto.asymmetric.ECDomainParameters
org.bouncycastle.crypto.asymmetric.NamedECDomainParameters

public class NamedECDomainParameters extends ECDomainParameters
EC domain parameters associated with a specific object identifier.
  • Constructor Details

    • NamedECDomainParameters

      public NamedECDomainParameters(ASN1ObjectIdentifier id, ECCurve curve, ECPoint G, BigInteger n)
      Constructor that assumes the co-factor h is 1.
      Parameters:
      id - the object identifier that represents these parameters.
      curve - the curve for these domain parameters.
      G - the base point G for the domain parameters.
      n - the order for the domain parameters.
    • NamedECDomainParameters

      public NamedECDomainParameters(ASN1ObjectIdentifier id, ECCurve curve, ECPoint G, BigInteger n, BigInteger h)
      Constructor with explicit co-factor.
      Parameters:
      id - the object identifier that represents these parameters.
      curve - the curve for these domain parameters.
      G - the base point G for the domain parameters.
      n - the order for the domain parameters.
      h - the co-factor.
    • NamedECDomainParameters

      public NamedECDomainParameters(ASN1ObjectIdentifier id, ECCurve curve, ECPoint G, BigInteger n, BigInteger h, byte[] seed)
      Constructor with explicit co-factor and generation seed.
      Parameters:
      id - the object identifier that represents these parameters.
      curve - the curve for these domain parameters.
      G - the base point G for the domain parameters.
      n - the order for the domain parameters.
      h - the co-factor.
      seed - the seed value used to generate the domain parameters.
  • Method Details