Update documentation of #96 workaround

This commit is contained in:
Paul Schaub 2022-04-22 20:56:02 +02:00
parent 46f69b9fa5
commit 8172aa1083
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 3 deletions

View File

@ -536,11 +536,9 @@ public final class ArmorUtils {
* to read all PGPKeyRings properly, we apparently have to make sure that the {@link InputStream} that is given
* as constructor argument is a PGPUtil.BufferedInputStreamExt.
* Since {@link PGPUtil#getDecoderStream(InputStream)} will return an {@link org.bouncycastle.bcpg.ArmoredInputStream}
* if the underlying input stream contains armored data, we have to nest two method calls to make sure that the
* if the underlying input stream contains armored data, we first dearmor the data ourselves to make sure that the
* end-result is a PGPUtil.BufferedInputStreamExt.
*
* This is a hacky solution.
*
* @param inputStream input stream
* @return BufferedInputStreamExt
*