1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-17 18:02:05 +01:00

Remove deprecated EncryptionResult.getSymmetricKeyAlgorithm()

Use getEncryptionAlgorithm() instead
This commit is contained in:
Paul Schaub 2022-08-29 10:37:55 +02:00
parent 6b3d676531
commit 054828ef8c
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -46,19 +46,6 @@ public final class EncryptionResult {
this.fileEncoding = encoding;
}
/**
* Return the symmetric encryption algorithm used to encrypt the message.
* @return symmetric encryption algorithm
*
* @deprecated use {@link #getEncryptionAlgorithm()} instead.
*
* TODO: Remove in 1.2.X
*/
@Deprecated
public SymmetricKeyAlgorithm getSymmetricKeyAlgorithm() {
return getEncryptionAlgorithm();
}
/**
* Return the symmetric encryption algorithm used to encrypt the message.
*