mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-23 12:52:07 +01:00
Remove deprecated methods from PGPainless.java
This commit is contained in:
parent
9395fa80a2
commit
02ddb71c07
1 changed files with 0 additions and 22 deletions
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue