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
      protected ProbablePrimesIFC(int nlen, java.math.BigInteger exp, java.security.SecureRandom random) 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      protected void finalize()
      This function zeroizes the members of this class.
      protected ProbablePrimesResultIFC generateProbablePrimes()
      Appendix B3.3
      protected boolean validatePQE(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger exp)
      Validate P, Q and E
      void zeroize()
      This function zeroizes the parameters so that it isn't in memory
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        finalize in class java.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:
© Portions Copyright 2003, 2014, 2015, 2016 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2014 Oracle and/or its affiliates. All rights reserved.