public class DSAElGamalKeyRingGenerator extends Object
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].
Note: this example encrypts the secret key using AES_256, many PGP products still do not support this, if you are having problems importing keys try changing the algorithm id to PGPEncryptedData.CAST5. CAST5 is more widely supported.
Constructor and Description |
---|
DSAElGamalKeyRingGenerator() |
Copyright © 2018 BouncyCastle.org. All rights reserved.