ECConstants (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.math.ec

## Interface ECConstants

- All Known Implementing Classes:
    Curve25519FieldElement, DSTU4145KeyPairGenerator, DSTU4145Parameters, ECDomainParameters, ECDSASigner, ECFieldElement, ECFieldElement.AbstractF2m, ECFieldElement.AbstractFp, ECFieldElement.F2m, ECFieldElement.Fp, ECGOST3410Parameters, ECKeyPairGenerator, ECNamedDomainParameters, SecP128R1FieldElement, SecP160R1FieldElement, SecP160R2FieldElement, SecP192K1FieldElement, SecP192R1FieldElement, SecP224K1FieldElement, SecP224R1FieldElement, SecP256K1FieldElement, SecP256R1FieldElement, SecP384R1FieldElement, SecP521R1FieldElement, SecT113FieldElement, SecT131FieldElement, SecT163FieldElement, SecT193FieldElement, SecT233FieldElement, SecT239FieldElement, SecT283FieldElement, SecT409FieldElement, SecT571FieldElement, SM2KeyPairGenerator, SM2P256V1FieldElement, SM2Signer

      public interface ECConstants

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.math.BigInteger` | `EIGHT`
    `static java.math.BigInteger` | `FOUR`
    `static java.math.BigInteger` | `ONE`
    `static java.math.BigInteger` | `THREE`
    `static java.math.BigInteger` | `TWO`
    `static java.math.BigInteger` | `ZERO`

- - ### Field Detail

    - #### ZERO

          static final java.math.BigInteger ZERO

    - #### ONE

          static final java.math.BigInteger ONE

    - #### TWO

          static final java.math.BigInteger TWO

    - #### THREE

          static final java.math.BigInteger THREE

    - #### FOUR

          static final java.math.BigInteger FOUR

    - #### EIGHT

          static final java.math.BigInteger EIGHT