Bouncy Castle Cryptography Library 1.81

org.bouncycastle.math.ec
Interface ECMultiplier

All Known Implementing Classes:
AbstractECMultiplier

public interface ECMultiplier

Interface for classes encapsulating a point multiplication algorithm for ECPoints.


Method Summary
 ECPoint multiply(ECPoint p, java.math.BigInteger k)
          Multiplies the ECPoint p by k, i.e.
 

Method Detail

multiply

public ECPoint multiply(ECPoint p,
                        java.math.BigInteger k)
Multiplies the ECPoint p by k, i.e. p is added k times to itself.

Parameters:
p - The ECPoint to be multiplied.
k - The factor by which p is multiplied.
Returns:
p multiplied by k.

Bouncy Castle Cryptography Library 1.81