public class RSAKeyPairGenerator
extends java.lang.Object
Constructor and Description |
---|
RSAKeyPairGenerator()
Creates a new instance of KeyPairGenerator
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
void |
run(int id,
int size)
Generate the key pair for the process with id =
|
public RSAKeyPairGenerator()
public void run(int id, int size) throws java.lang.Exception
id
- the id of the process to generate keyjava.lang.Exception
- something goes wrong when writing the filespublic static void main(java.lang.String[] args)