| java.lang.Object org.bouncycastle.crypto.KeyGenerationParameters org.bouncycastle.crypto.params.NaccacheSternKeyGenerationParameters
NaccacheSternKeyGenerationParameters | public class NaccacheSternKeyGenerationParameters extends KeyGenerationParameters (Code) | | Parameters for NaccacheStern public private key generation. For details on
this cipher, please see
http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf
|
NaccacheSternKeyGenerationParameters | public NaccacheSternKeyGenerationParameters(SecureRandom random, int strength, int certainty, int cntSmallPrimes)(Code) | | Parameters for generating a NaccacheStern KeyPair.
Parameters: random - The source of randomness Parameters: strength - The desired strength of the Key in Bits Parameters: certainty - the probability that the generated primes are not really primeas integer: 2^(-certainty) is then the probability Parameters: cntSmallPrimes - How many small key factors are desired |
NaccacheSternKeyGenerationParameters | public NaccacheSternKeyGenerationParameters(SecureRandom random, int strength, int certainty, int cntSmallPrimes, boolean debug)(Code) | | Parameters for a NaccacheStern KeyPair.
Parameters: random - The source of randomness Parameters: strength - The desired strength of the Key in Bits Parameters: certainty - the probability that the generated primes are not really primeas integer: 2^(-certainty) is then the probability Parameters: cntSmallPrimes - How many small key factors are desired Parameters: debug - Turn debugging on or off (reveals secret information, use withcaution) |
getCertainty | public int getCertainty()(Code) | | Returns the certainty. |
getCntSmallPrimes | public int getCntSmallPrimes()(Code) | | Returns the cntSmallPrimes. |
isDebug | public boolean isDebug()(Code) | | |
|
|