All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class au.net.aba.crypto.provider.RSAKeyPairGenerator

java.lang.Object
   |
   +----java.security.KeyPairGenerator
           |
           +----au.net.aba.crypto.provider.RSAKeyPairGenerator

public class RSAKeyPairGenerator
extends KeyPairGenerator
A class for generating a random RSA public/private key pair.


Variable Index

 o ident

Constructor Index

 o RSAKeyPairGenerator()
basic constructor.

Method Index

 o generateKeyPair()
Generates a RSA key pair.
 o initialize(int, SecureRandom)
Initialises the key pair generator for a certain strength, using the default parameter set.

Variables

 o ident
 public static final String ident

Constructors

 o RSAKeyPairGenerator
 public RSAKeyPairGenerator()
basic constructor.

Methods

 o initialize
 public void initialize(int strength,
                        SecureRandom random)
Initialises the key pair generator for a certain strength, using the default parameter set.

Parameters:
strength - the size of the key (in bits).
random - a source of randomness.
Overrides:
initialize in class KeyPairGenerator
 o generateKeyPair
 public KeyPair generateKeyPair()
Generates a RSA key pair.

Returns:
a RSA public/private key pair.
Overrides:
generateKeyPair in class KeyPairGenerator

All Packages  Class Hierarchy  This Package  Previous  Next  Index