public class NaccacheSternPrivateKeyParameters extends NaccacheSternKeyParameters
| Constructor and Description |
|---|
NaccacheSternPrivateKeyParameters(BigInteger g,
BigInteger n,
int lowerSigmaBound,
Vector smallPrimes,
BigInteger phi_n)
Constructs a NaccacheSternPrivateKey
|
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getPhi_n() |
Vector |
getSmallPrimes() |
getG, getLowerSigmaBound, getModulusisPrivatepublic NaccacheSternPrivateKeyParameters(BigInteger g, BigInteger n, int lowerSigmaBound, Vector smallPrimes, 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)public BigInteger getPhi_n()
public Vector getSmallPrimes()
Copyright © 2015. All rights reserved.