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;
}
/**