mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
Revert introduction of StreamUtil
This commit is contained in:
parent
b8f719d3eb
commit
311c842196
27 changed files with 78 additions and 137 deletions
|
@ -127,7 +127,7 @@ Still it allows you to manually specify which algorithms to use of course.
|
|||
).setAsciiArmor(true) // Ascii armor or not
|
||||
);
|
||||
|
||||
StreamUtil.pipeAll(plaintextInputStream, encryptionStream);
|
||||
Streams.pipeAll(plaintextInputStream, encryptionStream);
|
||||
encryptionStream.close();
|
||||
```
|
||||
|
||||
|
@ -147,7 +147,7 @@ This behaviour can be modified though using the `Policy` class.
|
|||
.addVerificationCert(alicePubKeys)
|
||||
);
|
||||
|
||||
StreamUtil.pipeAll(decryptionStream, outputStream);
|
||||
Streams.pipeAll(decryptionStream, outputStream);
|
||||
decryptionStream.close();
|
||||
|
||||
// Result contains information like signature status etc.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue