net.i2p.crypto
Class ECUtil

java.lang.Object
  extended by net.i2p.crypto.ECUtil

 class ECUtil
extends Object

Used by KeyGenerator.getSigningPublicKey() Modified from http://stackoverflow.com/questions/15727147/scalar-multiplication-of-point-over-elliptic-curve Apparently public domain. Supported P-192 only. Added curve parameters to support all curves.

Since:
0.9.16

Constructor Summary
ECUtil()
           
 
Method Summary
static ECPoint scalarMult(ECPoint p, BigInteger kin, EllipticCurve curve)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECUtil

ECUtil()
Method Detail

scalarMult

public static ECPoint scalarMult(ECPoint p,
                                 BigInteger kin,
                                 EllipticCurve curve)