org.bouncycastle.openpgp.examples

Class RSAKeyPairGenerator

public class RSAKeyPairGenerator extends Object

A simple utility class that generates a RSA PGPPublicKey/PGPSecretKey pair.

usage: RSAKeyPairGenerator [-a] identity passPhrase

Where identity is the name to be associated with the public key. The keys are placed in the files pub.[asc|bpg] and secret.[asc|bpg].

Method Summary
static voidmain(String[] args)

Method Detail

main

public static void main(String[] args)