CipherParameters
public class NaccacheSternPrivateKeyParameters extends NaccacheSternKeyParameters
Constructor | 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 | Description |
---|---|---|
java.math.BigInteger |
getPhi_n() |
|
java.util.Vector |
getSmallPrimes() |
isPrivate
getG, getLowerSigmaBound, getModulus
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)