Class RSAKeyPairGenerator
- java.lang.Object
-
- org.bouncycastle.openpgp.examples.RSAKeyPairGenerator
-
public class RSAKeyPairGenerator extends java.lang.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].
-
-
Constructor Summary
Constructors Constructor Description RSAKeyPairGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-