Add javadoc for OpenPgpMessageInputStream factory method return value

This commit is contained in:
Paul Schaub 2022-11-24 22:24:12 +01:00
parent 39d656d2dd
commit e88a88a447
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,7 @@ public class OpenPgpMessageInputStream extends DecryptionStream {
*
* @param inputStream underlying input stream
* @param options options for consuming the stream
* @return input stream that consumes OpenPGP messages
*
* @throws IOException in case of an IO error
* @throws PGPException in case of an OpenPGP error
@ -123,6 +124,7 @@ public class OpenPgpMessageInputStream extends DecryptionStream {
* @param inputStream underlying input stream containing the OpenPGP message
* @param options options for consuming the message
* @param policy policy for acceptable algorithms etc.
* @return input stream that consumes OpenPGP messages
*
* @throws PGPException in case of an OpenPGP error
* @throws IOException in case of an IO error