Class PrivateKeyHashUtil


  • public final class PrivateKeyHashUtil
    extends java.lang.Object
    Hash codes for private keys derived from public parameters and the derived public value.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int dhHashCode​(javax.crypto.spec.DHParameterSpec params, java.math.BigInteger x)  
      static int dsaHashCode​(java.security.interfaces.DSAParams params, java.math.BigInteger x)  
      static int elGamalHashCode​(ElGamalParameterSpec params, java.math.BigInteger x)  
      static int gostHashCode​(GOST3410Params params, java.math.BigInteger x)  
      static int rsaHashCode​(java.math.BigInteger modulus, java.math.BigInteger publicExponent)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • dsaHashCode

        public static int dsaHashCode​(java.security.interfaces.DSAParams params,
                                      java.math.BigInteger x)
      • dhHashCode

        public static int dhHashCode​(javax.crypto.spec.DHParameterSpec params,
                                     java.math.BigInteger x)
      • elGamalHashCode

        public static int elGamalHashCode​(ElGamalParameterSpec params,
                                          java.math.BigInteger x)
      • gostHashCode

        public static int gostHashCode​(GOST3410Params params,
                                       java.math.BigInteger x)
      • rsaHashCode

        public static int rsaHashCode​(java.math.BigInteger modulus,
                                      java.math.BigInteger publicExponent)