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

org.bouncycastle.crypto.ec

## Class ECPair

- java.lang.Object
- - org.bouncycastle.crypto.ec.ECPair

-     public class ECPair
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ECPair(ECPoint x, ECPoint y)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(ECPair other)`
    `boolean` | `equals(java.lang.Object other)`
    `ECPoint` | `getX()`
    `ECPoint` | `getY()`
    `int` | `hashCode()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ECPair

          public ECPair(ECPoint x,
                        ECPoint y)

  - ### Method Detail

    - #### getX

          public ECPoint getX()

    - #### getY

          public ECPoint getY()

    - #### equals

          public boolean equals(ECPair other)

    - #### equals

          public boolean equals(java.lang.Object other)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`