mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-03-30 15:08:32 +00:00

If `expectSigned` is set: - `openpgp.decrypt` throws immediately if public keys or signatures are missing, or if the signatures are invalid and streaming is not used. - `openpgp.verify` throws immediately if signatures are missing, or if the signatures are invalid and streaming is not used. - If the signatures are invalid and streaming is used, reading the returned data stream will eventually throw.