org.bouncycastle.math.ec

## Class WTauNafMultiplier

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

- All Implemented Interfaces:
    ECMultiplier

      public class WTauNafMultiplier
      extends AbstractECMultiplier

  Class implementing the WTNAF (Window `τ`-adic Non-Adjacent Form) algorithm.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WTauNafMultiplier()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected ECPoint` | `multiplyPositive(ECPoint point, java.math.BigInteger k)` Multiplies a `ECPoint.AbstractF2m` by `k` using the reduced `τ`-adic NAF (RTNAF) method.

    - ### Methods inherited from class org.bouncycastle.math.ec.AbstractECMultiplier

      `checkResult, multiply`

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

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

- - ### Constructor Detail

    - #### WTauNafMultiplier

          public WTauNafMultiplier()

  - ### Method Detail

    - #### multiplyPositive

          protected ECPoint multiplyPositive(ECPoint point,
                                             java.math.BigInteger k)

      Multiplies a `ECPoint.AbstractF2m` by `k` using the reduced `τ`-adic NAF (RTNAF) method.
      Specified by:
        `multiplyPositive` in class `AbstractECMultiplier`
      Parameters:
        `point` - The ECPoint.AbstractF2m to multiply.
        `k` - The integer by which to multiply `k`.
      Returns:
        `p` multiplied by `k`.