public class NaccacheSternPrivateKeyParameters extends NaccacheSternKeyParameters
Constructor and Description |
---|
NaccacheSternPrivateKeyParameters(java.math.BigInteger g,
java.math.BigInteger n,
int lowerSigmaBound,
java.util.Vector smallPrimes,
java.math.BigInteger phi_n)
Constructs a NaccacheSternPrivateKey
|
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
getPhi_n() |
java.util.Vector |
getSmallPrimes() |
getG, getLowerSigmaBound, getModulus
isPrivate
public NaccacheSternPrivateKeyParameters(java.math.BigInteger g, java.math.BigInteger n, int lowerSigmaBound, java.util.Vector smallPrimes, java.math.BigInteger phi_n)
g
- the public enryption parameter gn
- the public modulus n = p*qlowerSigmaBound
- the public lower sigma bound up to which data can be encryptedsmallPrimes
- the small primes, of which sigma is constructed in the right
orderphi_n
- the private modulus phi(n) = (p-1)(q-1)