Class cryptix.security.rsa.RSAKeyGen
All Packages Class Hierarchy This Package Previous Next Index
Class cryptix.security.rsa.RSAKeyGen
java.lang.Object
|
+----cryptix.security.rsa.RSAKeyGen
- public class RSAKeyGen
- extends Object
This class is an RSA key pair generator.
Copyright (C) 1995, 1996 Systemics Ltd (http://www.systemics.com/)
All rights reserved.
-
rand
-
-
RSAKeyGen(RandomStream)
-
-
createKey(int)
- This function creates a Secret Key
N.B. this can take a LONG time.
-
createKey(int, RSAKeyGenObserver)
- An observer class is used to monitor progress.
-
createKey(RandomStream, int)
- This function creates a Secret Key
N.B. this can take a LONG time.
-
createKey(RandomStream, int, RSAKeyGenObserver)
- An observer class is used to monitor progress.
-
deriveKeys(BigInteger, BigInteger, BigInteger)
- An observer class is used to monitor progress.
-
randomPrime(int, RSAKeyGenObserver)
- An observer class is used to monitor progress.
rand
protected RandomStream rand
RSAKeyGen
public RSAKeyGen(RandomStream rand0)
- Parameters:
- rand0 - the source of random numbers for the prime number
generation.
randomPrime
public BigInteger randomPrime(int bitlen,
RSAKeyGenObserver obsrv)
- An observer class is used to monitor progress.
createKey
public final static SecretKey createKey(RandomStream rand,
int bitlen)
- This function creates a Secret Key
N.B. this can take a LONG time.
createKey
public final static SecretKey createKey(RandomStream rand,
int bitlen,
RSAKeyGenObserver obsrv)
- An observer class is used to monitor progress.
createKey
public SecretKey createKey(int bitlen)
- This function creates a Secret Key
N.B. this can take a LONG time.
createKey
public SecretKey createKey(int bitlen,
RSAKeyGenObserver obsrv)
- An observer class is used to monitor progress.
deriveKeys
protected final SecretKey deriveKeys(BigInteger p,
BigInteger q,
BigInteger e)
- An observer class is used to monitor progress.
All Packages Class Hierarchy This Package Previous Next Index