Package org.bouncycastle.crypto.params
Class NaccacheSternKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.NaccacheSternKeyParameters
- All Implemented Interfaces:
CipherParameters
- Direct Known Subclasses:
NaccacheSternPrivateKeyParameters
Public key parameters for NaccacheStern cipher. For details on this cipher,
please see
https://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf
-
Constructor Summary
ConstructorDescriptionNaccacheSternKeyParameters
(boolean privateKey, BigInteger g, BigInteger n, int lowerSigmaBound) -
Method Summary
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
NaccacheSternKeyParameters
public NaccacheSternKeyParameters(boolean privateKey, BigInteger g, BigInteger n, int lowerSigmaBound) - Parameters:
privateKey
-
-
-
Method Details
-
getG
- Returns:
- Returns the g.
-
getLowerSigmaBound
public int getLowerSigmaBound()- Returns:
- Returns the lowerSigmaBound.
-
getModulus
- Returns:
- Returns the n.
-