1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-23 04:42:06 +01:00

Remove deprecated methods from PGPainless.java

This commit is contained in:
Paul Schaub 2021-06-28 21:10:20 +02:00
parent 9395fa80a2
commit 02ddb71c07
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -51,17 +51,6 @@ public class PGPainless {
return new KeyRingReader(); return new KeyRingReader();
} }
/**
* Create an {@link EncryptionStream}, which can be used to encrypt and/or sign data using OpenPGP.
*
* @deprecated Use {@link #encryptAndOrSign()} instead.
* @return builder
*/
@Deprecated
public static EncryptionBuilder createEncryptor() {
return encryptAndOrSign();
}
/** /**
* Create an {@link EncryptionStream}, which can be used to encrypt and/or sign data using OpenPGP. * Create an {@link EncryptionStream}, which can be used to encrypt and/or sign data using OpenPGP.
* This method assumes that the stream will be used to encrypt data for communication purposes. * This method assumes that the stream will be used to encrypt data for communication purposes.
@ -86,17 +75,6 @@ public class PGPainless {
return new EncryptionBuilder(purpose); return new EncryptionBuilder(purpose);
} }
/**
* Create a {@link DecryptionStream}, which can be used to decrypt and/or verify data using OpenPGP.
*
* @deprecated Use {@link #decryptAndOrVerify()} instead.
* @return builder
*/
@Deprecated
public static DecryptionBuilder createDecryptor() {
return decryptAndOrVerify();
}
/** /**
* Create a {@link DecryptionStream}, which can be used to decrypt and/or verify data using OpenPGP. * Create a {@link DecryptionStream}, which can be used to decrypt and/or verify data using OpenPGP.
* *