Top Description Methods
org.bouncycastle.math.ec

public Interface ECMultiplier

Known Direct Implementers
org.bouncycastle.math.ec.AbstractECMultiplier
Imports
java.math.BigInteger

Interface for classes encapsulating a point multiplication algorithm for ECPoints.

Method Summary

Modifier and TypeMethod and Description
public ECPoint

Returns:

p multiplied by k.
multiply
(ECPoint
The ECPoint to be multiplied.
p
,
BigInteger
The factor by which p is multiplied.
k
)

Multiplies the ECPoint p by k, i.e. p is added k times to itself.

Method Detail

multiplyback to summary
public ECPoint multiply(ECPoint p, BigInteger k)

Multiplies the ECPoint p by k, i.e. p is added k times to itself.

Parameters
p:ECPoint

The ECPoint to be multiplied.

k:BigInteger

The factor by which p is multiplied.

Returns:ECPoint

p multiplied by k.