Add javadocs.

This commit is contained in:
akwizgran
2020-01-09 14:17:55 +00:00
parent 4d3c1b4fd2
commit d7b05dcba0
5 changed files with 28 additions and 3 deletions

View File

@@ -383,7 +383,7 @@ class CryptoComponentImpl implements CryptoComponent {
ks.load(null);
// Load or generate the stored key
javax.crypto.SecretKey storedKey;
Entry e = ks.getEntry(config.getAlias(), null);
Entry e = ks.getEntry(config.getKeyAlias(), null);
if (e == null) {
if (!generateIfMissing) {
LOG.warning("Key not found in keystore");