org.bouncycastle.crypto.params
Class NaccacheSternKeyParameters

java.lang.Object
  extended by org.bouncycastle.crypto.params.AsymmetricKeyParameter
      extended by org.bouncycastle.crypto.params.NaccacheSternKeyParameters
All Implemented Interfaces:
CipherParameters
Direct Known Subclasses:
NaccacheSternPrivateKeyParameters

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


Field Summary
private  java.math.BigInteger g
           
(package private)  int lowerSigmaBound
           
private  java.math.BigInteger n
           
 
Fields inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
privateKey
 
Constructor Summary
NaccacheSternKeyParameters(boolean privateKey, java.math.BigInteger g, java.math.BigInteger n, int lowerSigmaBound)
           
 
Method Summary
 java.math.BigInteger getG()
           
 int getLowerSigmaBound()
           
 java.math.BigInteger getModulus()
           
 
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

g

private java.math.BigInteger g

n

private java.math.BigInteger n

lowerSigmaBound

int lowerSigmaBound
Constructor Detail

NaccacheSternKeyParameters

public NaccacheSternKeyParameters(boolean privateKey,
                                  java.math.BigInteger g,
                                  java.math.BigInteger n,
                                  int lowerSigmaBound)
Parameters:
privateKey -
Method Detail

getG

public java.math.BigInteger getG()
Returns:
Returns the g.

getLowerSigmaBound

public int getLowerSigmaBound()
Returns:
Returns the lowerSigmaBound.

getModulus

public java.math.BigInteger getModulus()
Returns:
Returns the n.