java.lang.Object
net.i2p.crypto.ECConstants.ECParms
- Enclosing class:
ECConstants
The parameters of one elliptic curve.
Field Summary
Modifier and TypeFieldDescriptionprivate static final BigIntegerThe A coefficient of the curve, minus three.final StringCoefficient b.final StringBase point x coordinate (Gx).final StringBase point y coordinate (Gy).private static final intThe cofactor of the curve, one.final StringOrder n.final StringPrime modulus p.final StringSeed for the SHA-1 based generation algorithm.Constructor Summary
Method Summary
All Methods
Field Details
ps
Prime modulus p.ns
Order n.ss
Seed for the SHA-1 based generation algorithm.bs
Coefficient b.gxs
Base point x coordinate (Gx).gys
Base point y coordinate (Gy).A
The A coefficient of the curve, minus three.H
Constructor Details
ECParms
P and N in decimal, no spaces; Seed, B, Gx, Gy in hex, spaces allowed.- Parameters:
pss- prime p, decimalnss- order n of the base point, decimalsss- curve seed, hexbss- curve parameter b, hexgxss- x coordinate of the base point, hexgyss- y coordinate of the base point, hex
Method Details
genSpec