mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 10:49:39 +02:00
Annotate and document ArmorUtils class
This commit is contained in:
parent
e89e0f216c
commit
16b0d0730e
2 changed files with 367 additions and 100 deletions
|
@ -54,7 +54,7 @@ public class ExtractCertImpl implements ExtractCert {
|
|||
public void writeTo(OutputStream outputStream) throws IOException {
|
||||
|
||||
for (PGPPublicKeyRing cert : certs) {
|
||||
OutputStream out = armor ? ArmorUtils.createArmoredOutputStreamFor(cert, outputStream) : outputStream;
|
||||
OutputStream out = armor ? ArmorUtils.toAsciiArmoredStream(cert, outputStream) : outputStream;
|
||||
cert.encode(out);
|
||||
|
||||
if (armor) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue