Skip to content

Commit

Permalink
Support S/MIME decrypted opaque signed message #1450
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Mar 17, 2024
1 parent e2b08ba commit b3afbe1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev/Mime/Utils.js
Expand Up @@ -80,6 +80,12 @@ export function MimeToMessage(data, message)
detached: true
});
}
} else if ('application/pkcs7-mime' === type.value /*&& 'signed-data' === type.params['smime-type']=*/) {
message.smimeSigned({
micAlg: type.micalg,
bodyPart: part,
detached: false
});
}
});

Expand Down

0 comments on commit b3afbe1

Please sign in to comment.