Class DSAElGamalKeyRingGenerator
java.lang.Object
org.bouncycastle.openpgp.examples.DSAElGamalKeyRingGenerator
A simple utility class that generates a public/secret keyring containing a DSA signing
key and an El Gamal key for encryption.
usage: DSAElGamalKeyRingGenerator [-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
-
Method Summary
-
Constructor Details
-
DSAElGamalKeyRingGenerator
public DSAElGamalKeyRingGenerator()
-
-
Method Details
-
main
- Throws:
Exception
-