Top Description Constructors Methods
org.bouncycastle.math.ec

public Class WNafL2RMultiplier

extends AbstractECMultiplier
Class Inheritance
Imports
java.math.BigInteger, org.bouncycastle.util.Integers

Class implementing the WNAF (Window Non-Adjacent Form) multiplication algorithm.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ECPoint

Returns:

A new ECPoint which equals this multiplied by k.
multiplyPositive
(ECPoint p, BigInteger
The integer by which this is multiplied.
k
)

Implements abstract org.bouncycastle.math.ec.AbstractECMultiplier.multiplyPositive.

Multiplies this by an integer k using the Window NAF method.
Inherited from org.bouncycastle.math.ec.AbstractECMultiplier:
checkResultmultiply

Constructor Detail

WNafL2RMultiplierback to summary
public WNafL2RMultiplier()

Method Detail

multiplyPositiveback to summary
protected ECPoint multiplyPositive(ECPoint p, BigInteger k)

Implements abstract org.bouncycastle.math.ec.AbstractECMultiplier.multiplyPositive.

Multiplies this by an integer k using the Window NAF method.

Parameters
k:BigInteger

The integer by which this is multiplied.

Returns:ECPoint

A new ECPoint which equals this multiplied by k.