com.ibm.crypto.fips.provider
Class ProbablePrimesIFC
- java.lang.Object
-
- com.ibm.crypto.fips.provider.ProbablePrimesIFC
-
public final class ProbablePrimesIFC extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor and Description protectedProbablePrimesIFC(int nlen, java.math.BigInteger exp, java.security.SecureRandom random)
-
Method Summary
Methods Modifier and Type Method and Description protected voidfinalize()This function zeroizes the members of this class.protected ProbablePrimesResultIFCgenerateProbablePrimes()Appendix B3.3protected booleanvalidatePQE(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger exp)Validate P, Q and Evoidzeroize()This function zeroizes the parameters so that it isn't in memory
-
-
-
Constructor Detail
-
ProbablePrimesIFC
protected ProbablePrimesIFC(int nlen, java.math.BigInteger exp, java.security.SecureRandom random) throws FIPSRuntimeException- Throws:
FIPSRuntimeException
-
-
Method Detail
-
generateProbablePrimes
protected ProbablePrimesResultIFC generateProbablePrimes()
Appendix B3.3- Returns:
- Throws:
java.lang.Exception
-
zeroize
public void zeroize()
This function zeroizes the parameters so that it isn't in memory
-
finalize
protected void finalize()
This function zeroizes the members of this class.- Overrides:
finalizein classjava.lang.Object
-
validatePQE
protected boolean validatePQE(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger exp)Validate P, Q and E- Parameters:
p-q-exp-- Returns:
-
-