mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-14 04:39:39 +02:00
Add KeyRingProtectionSettings.secureDefaultSettings() factory method
This commit is contained in:
parent
20f32926bb
commit
2af60454f5
3 changed files with 6 additions and 2 deletions
|
@ -32,7 +32,7 @@ public class PassphraseProtectedKeyTest {
|
|||
* Protector that holds only the password of cryptie.
|
||||
*/
|
||||
private final PasswordBasedSecretKeyRingProtector protector = new PasswordBasedSecretKeyRingProtector(
|
||||
new KeyRingProtectionSettings(SymmetricKeyAlgorithm.AES_256),
|
||||
KeyRingProtectionSettings.secureDefaultSettings(),
|
||||
new SecretKeyPassphraseProvider() {
|
||||
@Nullable
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue