org.bouncycastle.crypto.params

Class NaccacheSternKeyParameters

public class NaccacheSternKeyParameters extends AsymmetricKeyParameter

Public key parameters for NaccacheStern cipher. For details on this cipher, please see http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf
Constructor Summary
NaccacheSternKeyParameters(boolean privateKey, BigInteger g, BigInteger n, int lowerSigmaBound)
Method Summary
BigIntegergetG()
intgetLowerSigmaBound()
BigIntegergetModulus()

Constructor Detail

NaccacheSternKeyParameters

public NaccacheSternKeyParameters(boolean privateKey, BigInteger g, BigInteger n, int lowerSigmaBound)

Parameters: privateKey

Method Detail

getG

public BigInteger getG()

Returns: Returns the g.

getLowerSigmaBound

public int getLowerSigmaBound()

Returns: Returns the lowerSigmaBound.

getModulus

public BigInteger getModulus()

Returns: Returns the n.