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:
parent
9883d1537b
commit
b1deb75969
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue