1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-28 22:44:50 +02:00

Deprecate PGPainless.encryptAndOrSign(purpose)

This commit is contained in:
Paul Schaub 2021-05-27 15:57:21 +02:00
parent 9883d1537b
commit b1deb75969
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -85,6 +85,8 @@ public class PGPainless {
* *
* @param purpose how will the data be used? * @param purpose how will the data be used?
* @return builder * @return builder
* @deprecated use {@link #encryptAndOrSign()} and set the purpose in
* {@link org.pgpainless.encryption_signing.EncryptionOptions} instead
*/ */
public static EncryptionBuilder encryptAndOrSign(EncryptionPurpose purpose) { public static EncryptionBuilder encryptAndOrSign(EncryptionPurpose purpose) {
return new EncryptionBuilder(purpose); return new EncryptionBuilder(purpose);