Bouncy Castle Cryptography Library 1.85

org.bouncycastle.jcajce.provider.asymmetric.util
Class PrivateKeyHashUtil

java.lang.Object
  extended byorg.bouncycastle.jcajce.provider.asymmetric.util.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
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)

Bouncy Castle Cryptography Library 1.85