org.bouncycastle.crypto.params
Class NaccacheSternPrivateKeyParameters
- CipherParameters
public class NaccacheSternPrivateKeyParameters
Private key parameters for NaccacheStern cipher. For details on this cipher,
please see
http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf
NaccacheSternPrivateKeyParameters
public NaccacheSternPrivateKeyParameters(BigInteger g,
BigInteger n,
int lowerSigmaBound,
Vector smallPrimes,
BigInteger phi_n) Constructs a NaccacheSternPrivateKey
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)
getPhi_n
public BigInteger getPhi_n()
getSmallPrimes
public Vector getSmallPrimes()