Interface SecretKeyRingEditorInterface.WithPassphrase
-
- Enclosing interface:
- SecretKeyRingEditorInterface
public static interface SecretKeyRingEditorInterface.WithPassphrase
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecretKeyRingEditorInterface
toNewPassphrase(Passphrase passphrase)
Set the passphrase.SecretKeyRingEditorInterface
toNoPassphrase()
Leave the key unprotected.
-
-
-
Method Detail
-
toNewPassphrase
SecretKeyRingEditorInterface toNewPassphrase(Passphrase passphrase) throws org.bouncycastle.openpgp.PGPException
Set the passphrase.- Parameters:
passphrase
- passphrase- Returns:
- editor builder
- Throws:
org.bouncycastle.openpgp.PGPException
-
toNoPassphrase
SecretKeyRingEditorInterface toNoPassphrase() throws org.bouncycastle.openpgp.PGPException
Leave the key unprotected.- Returns:
- editor builder
- Throws:
org.bouncycastle.openpgp.PGPException
-
-