1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-23 11:27:57 +01:00

Change method name to toNoPassphrase()

This commit is contained in:
Paul Schaub 2020-10-30 13:29:18 +01:00
parent d0580918fa
commit 70ad4a274e
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 3 additions and 3 deletions

View file

@ -239,7 +239,7 @@ public class KeyRingEditor implements KeyRingEditorInterface {
}
@Override
public KeyRingEditorInterface noPassphrase() throws PGPException {
public KeyRingEditorInterface toNoPassphrase() throws PGPException {
SecretKeyRingProtector newProtector = new UnprotectedKeysProtector();
PGPSecretKeyRing secretKeys = changePassphrase(keyId, KeyRingEditor.this.secretKeyRing, oldProtector, newProtector);

View file

@ -129,7 +129,7 @@ public interface KeyRingEditorInterface {
/**
* Set secure default settings for the symmetric passphrase encryption.
* Note that this obviously has no effect if you decide to set {@link WithPassphrase#noPassphrase()}.
* Note that this obviously has no effect if you decide to set {@link WithPassphrase#toNoPassphrase()}.
*
* @return next builder step
*/
@ -160,7 +160,7 @@ public interface KeyRingEditorInterface {
*
* @return editor builder
*/
KeyRingEditorInterface noPassphrase() throws PGPException;
KeyRingEditorInterface toNoPassphrase() throws PGPException;
}
/**