Bumping versions
This commit is contained in:
@@ -98,7 +98,8 @@ public class KeyStoreTextEncryptorLocator implements TextEncryptorLocator {
|
||||
|
||||
private RsaSecretEncryptor rsaSecretEncryptor(String alias, String secret) {
|
||||
return new RsaSecretEncryptor(
|
||||
this.keys.getKeyPair(alias, this.secretLocator.locate(secret)),
|
||||
this.rsaAlgorithm, this.salt, this.strong);
|
||||
this.keys.getKeyPair(alias, this.secretLocator.locate(secret)),
|
||||
this.rsaAlgorithm, this.salt, this.strong);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -73,8 +73,11 @@ public class KeyStoreTextEncryptorLocatorTests {
|
||||
|
||||
@Test
|
||||
public void testDefaultEncryptor() {
|
||||
TextEncryptor encryptor1 = this.locator.locate(Collections.<String, String>emptyMap());
|
||||
TextEncryptor encryptor2 = this.locator.locate(Collections.<String, String>emptyMap());
|
||||
TextEncryptor encryptor1 = this.locator
|
||||
.locate(Collections.<String, String>emptyMap());
|
||||
TextEncryptor encryptor2 = this.locator
|
||||
.locate(Collections.<String, String>emptyMap());
|
||||
assertThat(encryptor1).isEqualTo(encryptor2);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user