AbstractECMultiplier (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.math.ec

## Class AbstractECMultiplier

- java.lang.Object
- - org.bouncycastle.math.ec.AbstractECMultiplier

- All Implemented Interfaces:
    ECMultiplier
  Direct Known Subclasses:
    DoubleAddMultiplier, FixedPointCombMultiplier, GLVMultiplier, MixedNafR2LMultiplier, MontgomeryLadderMultiplier, NafL2RMultiplier, NafR2LMultiplier, ReferenceMultiplier, WNafL2RMultiplier, WTauNafMultiplier, ZSignedDigitL2RMultiplier, ZSignedDigitR2LMultiplier

      public abstract class AbstractECMultiplier
      extends java.lang.Object
      implements ECMultiplier

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractECMultiplier()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ECPoint` | `multiply(ECPoint p, java.math.BigInteger k)` Multiplies the `ECPoint p` by `k`, i.e.
    `protected abstract ECPoint` | `multiplyPositive(ECPoint p, java.math.BigInteger k)`

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

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

- - ### Constructor Detail

    - #### AbstractECMultiplier

          public AbstractECMultiplier()

  - ### Method Detail

    - #### multiply

          public ECPoint multiply(ECPoint p,
                         java.math.BigInteger k)

      Description copied from interface: `ECMultiplier`
      Multiplies the `ECPoint p` by `k`, i.e. `p` is added `k` times to itself.
      Specified by:
        `multiply` in interface `ECMultiplier`
      Parameters:
        `p` - The `ECPoint` to be multiplied.
        `k` - The factor by which `p` is multiplied.
      Returns:
        `p` multiplied by `k`.

    - #### multiplyPositive

          protected abstract ECPoint multiplyPositive(ECPoint p,
                                 java.math.BigInteger k)