mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
Kotlin conversion: Cleartext Signature Framework
This commit is contained in:
parent
8d67820f50
commit
48af91efbf
10 changed files with 297 additions and 337 deletions
|
@ -69,7 +69,7 @@ public class InlineDetachImpl implements InlineDetach {
|
|||
if (armorIn.isClearText()) {
|
||||
try {
|
||||
signatures = ClearsignedMessageUtil.detachSignaturesFromInbandClearsignedMessage(armorIn, messageOutputStream);
|
||||
if (signatures == null) {
|
||||
if (signatures.isEmpty()) {
|
||||
throw new SOPGPException.BadData("Data did not contain OpenPGP signatures.");
|
||||
}
|
||||
} catch (WrongConsumingMethodException e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue