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:
parent
d0580918fa
commit
70ad4a274e
2 changed files with 3 additions and 3 deletions
|
@ -239,7 +239,7 @@ public class KeyRingEditor implements KeyRingEditorInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public KeyRingEditorInterface noPassphrase() throws PGPException {
|
public KeyRingEditorInterface toNoPassphrase() throws PGPException {
|
||||||
SecretKeyRingProtector newProtector = new UnprotectedKeysProtector();
|
SecretKeyRingProtector newProtector = new UnprotectedKeysProtector();
|
||||||
|
|
||||||
PGPSecretKeyRing secretKeys = changePassphrase(keyId, KeyRingEditor.this.secretKeyRing, oldProtector, newProtector);
|
PGPSecretKeyRing secretKeys = changePassphrase(keyId, KeyRingEditor.this.secretKeyRing, oldProtector, newProtector);
|
||||||
|
|
|
@ -129,7 +129,7 @@ public interface KeyRingEditorInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set secure default settings for the symmetric passphrase encryption.
|
* 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
|
* @return next builder step
|
||||||
*/
|
*/
|
||||||
|
@ -160,7 +160,7 @@ public interface KeyRingEditorInterface {
|
||||||
*
|
*
|
||||||
* @return editor builder
|
* @return editor builder
|
||||||
*/
|
*/
|
||||||
KeyRingEditorInterface noPassphrase() throws PGPException;
|
KeyRingEditorInterface toNoPassphrase() throws PGPException;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue