mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
Fix more code issues
This commit is contained in:
parent
e96d668ee2
commit
59f1a85887
7 changed files with 31 additions and 28 deletions
|
@ -37,11 +37,13 @@ public class DetachInbandSignatureAndMessageImpl implements DetachInbandSignatur
|
|||
|
||||
return new ReadyWithResult<Signatures>() {
|
||||
|
||||
private ByteArrayOutputStream sigOut = new ByteArrayOutputStream();
|
||||
@Override
|
||||
public Signatures writeTo(OutputStream messageOutputStream) throws SOPGPException.NoSignature, IOException {
|
||||
private final ByteArrayOutputStream sigOut = new ByteArrayOutputStream();
|
||||
|
||||
PGPSignatureList signatures = null;
|
||||
@Override
|
||||
public Signatures writeTo(OutputStream messageOutputStream)
|
||||
throws SOPGPException.NoSignature, IOException {
|
||||
|
||||
PGPSignatureList signatures;
|
||||
try {
|
||||
signatures = ClearsignedMessageUtil.detachSignaturesFromInbandClearsignedMessage(messageInputStream, messageOutputStream);
|
||||
} catch (WrongConsumingMethodException e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue