mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 18:59:39 +02:00
Move signature verification to dedicated streams
This commit is contained in:
parent
ba0e5eb3fe
commit
90a00e0541
12 changed files with 374 additions and 325 deletions
|
@ -30,6 +30,7 @@ public class DearmorImpl implements Dearmor {
|
|||
public Ready data(InputStream data) throws IOException {
|
||||
InputStream decoder = PGPUtil.getDecoderStream(data);
|
||||
return new Ready() {
|
||||
|
||||
@Override
|
||||
public void writeTo(OutputStream outputStream) throws IOException {
|
||||
Streams.pipeAll(decoder, outputStream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue