This commit is contained in:
Jesper Wilhelmsson 2021-12-16 00:26:36 +00:00
commit e6b28e05c6
27 changed files with 329 additions and 72 deletions

View file

@ -1313,7 +1313,7 @@ public final class PKCS12KeyStore extends KeyStoreSpi {
return super.engineGetAttributes(alias);
}
Entry entry = entries.get(alias.toLowerCase(Locale.ENGLISH));
return getAttributes(entry);
return Collections.unmodifiableSet(new HashSet<>(getAttributes(entry)));
}
/**