mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-22 20:32:05 +01:00
Deprecate PGPainless.encryptAndOrSign(purpose)
This commit is contained in:
parent
9883d1537b
commit
b1deb75969
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,8 @@ public class PGPainless {
|
|||
*
|
||||
* @param purpose how will the data be used?
|
||||
* @return builder
|
||||
* @deprecated use {@link #encryptAndOrSign()} and set the purpose in
|
||||
* {@link org.pgpainless.encryption_signing.EncryptionOptions} instead
|
||||
*/
|
||||
public static EncryptionBuilder encryptAndOrSign(EncryptionPurpose purpose) {
|
||||
return new EncryptionBuilder(purpose);
|
||||
|
|
Loading…
Reference in a new issue