Top Description Fields Constructors Methods
org.bouncycastle.crypto.params

public Class NaccacheSternKeyParameters

extends AsymmetricKeyParameter
Class Inheritance
Known Direct Subclasses
org.bouncycastle.crypto.params.NaccacheSternPrivateKeyParameters
Imports
java.math.BigInteger

Public key parameters for NaccacheStern cipher. For details on this cipher, please see https://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf

Field Summary

Modifier and TypeField and Description
private BigInteger
g

pack-priv int
private BigInteger
n

Inherited from org.bouncycastle.crypto.params.AsymmetricKeyParameter:
privateKey

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public BigInteger

Returns:

Returns the g.
getG
()

public int

Returns:

Returns the lowerSigmaBound.
getLowerSigmaBound
()

public BigInteger

Returns:

Returns the n.
getModulus
()

Inherited from org.bouncycastle.crypto.params.AsymmetricKeyParameter:
isPrivate

Field Detail

gback to summary
private BigInteger g
lowerSigmaBoundback to summary
pack-priv int lowerSigmaBound
nback to summary
private BigInteger n

Constructor Detail

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

Method Detail

getGback to summary
public BigInteger getG()
Returns:BigInteger

Returns the g.

getLowerSigmaBoundback to summary
public int getLowerSigmaBound()
Returns:int

Returns the lowerSigmaBound.

getModulusback to summary
public BigInteger getModulus()
Returns:BigInteger

Returns the n.