diff --git a/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionOptions.java b/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionOptions.java index 500bb253..9075aaef 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionOptions.java +++ b/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/EncryptionOptions.java @@ -226,15 +226,15 @@ public class EncryptionOptions { return new HashMap<>(keyRingInfo); } - public Set getEncryptionKeyIdentifiers() { + Set getEncryptionKeyIdentifiers() { return new HashSet<>(encryptionKeys); } - public Map getKeyViews() { + Map getKeyViews() { return new HashMap<>(keyViews); } - public SymmetricKeyAlgorithm getEncryptionAlgorithmOverride() { + SymmetricKeyAlgorithm getEncryptionAlgorithmOverride() { return encryptionAlgorithmOverride; }