generate single key

This commit is contained in:
Ashley Hughes committed 2014-01-31 11:44:10 +00:00
1 parent fa0bd5edb4
commit 617f117e23
2 files changed
+9 -21

No files matched your search

@@ -116,6 +116,8 @@ public class PgpKeyOperation {
* @throws PgpGeneralException
* @throws InvalidAlgorithmParameterException
*/
// TODO: key flags?
public PGPSecretKey createKey(int algorithmChoice, int keySize, String passPhrase,
boolean isMasterKey) throws NoSuchAlgorithmException, PGPException, NoSuchProviderException,
PgpGeneralException, InvalidAlgorithmParameterException {