From 02ddb71c07079c163f446ae957897c76882ead37 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Mon, 28 Jun 2021 21:10:20 +0200 Subject: [PATCH] Remove deprecated methods from PGPainless.java --- .../main/java/org/pgpainless/PGPainless.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/pgpainless-core/src/main/java/org/pgpainless/PGPainless.java b/pgpainless-core/src/main/java/org/pgpainless/PGPainless.java index 64931538..87e79e88 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/PGPainless.java +++ b/pgpainless-core/src/main/java/org/pgpainless/PGPainless.java @@ -51,17 +51,6 @@ public class PGPainless { 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. * 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); } - /** - * 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. *