public class DualECPoints
extends java.lang.Object
Constructor and Description |
---|
DualECPoints(int securityStrength,
org.bouncycastle.math.ec.ECPoint p,
org.bouncycastle.math.ec.ECPoint q,
int cofactor)
Base Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCofactor() |
int |
getMaxOutlen() |
org.bouncycastle.math.ec.ECPoint |
getP() |
org.bouncycastle.math.ec.ECPoint |
getQ() |
int |
getSecurityStrength() |
int |
getSeedLen() |
public DualECPoints(int securityStrength, org.bouncycastle.math.ec.ECPoint p, org.bouncycastle.math.ec.ECPoint q, int cofactor)
The cofactor is used to calculate the output block length (maxOutlen) according to
max_outlen = largest multiple of 8 less than ((field size in bits) - (13 + log2(cofactor))
securityStrength
- maximum security strength to be associated with these parametersp
- the P point.q
- the Q point.cofactor
- cofactor associated with the domain parameters for the point generation.