Class RSABlindingFactorGenerator
- java.lang.Object
-
- org.bouncycastle.crypto.generators.RSABlindingFactorGenerator
-
public class RSABlindingFactorGenerator extends java.lang.ObjectGenerate a random factor suitable for use with RSA blind signatures as outlined in Chaum's blinding and unblinding as outlined in "Handbook of Applied Cryptography", page 475.
-
-
Constructor Summary
Constructors Constructor Description RSABlindingFactorGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigIntegergenerateBlindingFactor()Generate a suitable blind factor for the public key the generator was initialised with.voidinit(CipherParameters param)Initialise the factor generator
-
-
-
Method Detail
-
init
public void init(CipherParameters param)
Initialise the factor generator- Parameters:
param- the necessary RSA key parameters.
-
generateBlindingFactor
public java.math.BigInteger generateBlindingFactor()
Generate a suitable blind factor for the public key the generator was initialised with.- Returns:
- a random blind factor
-
-