public class

NaccacheSternPrivateKeyParameters

extends NaccacheSternKeyParameters
java.lang.Object
   ↳ org.bouncycastle.crypto.params.AsymmetricKeyParameter
     ↳ org.bouncycastle.crypto.params.NaccacheSternKeyParameters
       ↳ org.bouncycastle.crypto.params.NaccacheSternPrivateKeyParameters

Class Overview

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

Summary

Public Constructors
NaccacheSternPrivateKeyParameters(BigInteger g, BigInteger n, int lowerSigmaBound, Vector smallPrimes, BigInteger phi_n)
Constructs a NaccacheSternPrivateKey
Public Methods
BigInteger getPhi_n()
Vector getSmallPrimes()
[Expand]
Inherited Methods
From class org.bouncycastle.crypto.params.NaccacheSternKeyParameters
From class org.bouncycastle.crypto.params.AsymmetricKeyParameter
From class java.lang.Object

Public Constructors

public NaccacheSternPrivateKeyParameters (BigInteger g, BigInteger n, int lowerSigmaBound, Vector smallPrimes, BigInteger phi_n)

Constructs a NaccacheSternPrivateKey

Parameters
g the public enryption parameter g
n the public modulus n = p*q
lowerSigmaBound the public lower sigma bound up to which data can be encrypted
smallPrimes the small primes, of which sigma is constructed in the right order
phi_n the private modulus phi(n) = (p-1)(q-1)

Public Methods

public BigInteger getPhi_n ()

public Vector getSmallPrimes ()