Class DecryptionBuilder
java.lang.Object
org.pgpainless.decryption_verification.DecryptionBuilder
- All Implemented Interfaces:
DecryptionBuilderInterface
Builder class that takes an
InputStream
of ciphertext (or plaintext signed data)
and combines it with a configured ConsumerOptions
object to form a DecryptionStream
which
can be used to decrypt an OpenPGP message or verify signatures.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.pgpainless.decryption_verification.DecryptionBuilderInterface
DecryptionBuilderInterface.DecryptWith
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononInputStream
(InputStream inputStream) Create aDecryptionStream
on anInputStream
which contains the encrypted and/or signed data.
-
Constructor Details
-
DecryptionBuilder
public DecryptionBuilder()
-
-
Method Details
-
onInputStream
Description copied from interface:DecryptionBuilderInterface
Create aDecryptionStream
on anInputStream
which contains the encrypted and/or signed data.- Specified by:
onInputStream
in interfaceDecryptionBuilderInterface
- Parameters:
inputStream
- encrypted and/or signed data.- Returns:
- api handle
-