S/MIME verify signature

This commit is contained in:
M66B
2019-12-02 12:17:18 +01:00
parent ab0ad41d89
commit d235ab4e19
5 changed files with 145 additions and 58 deletions

View File

@@ -1179,7 +1179,8 @@ public class MessageHelper {
File file = EntityAttachment.getFile(context, local.id, local.name);
db.attachment().setProgress(local.id, null);
if (EntityAttachment.PGP_CONTENT.equals(apart.encrypt)) {
if (EntityAttachment.PGP_CONTENT.equals(apart.encrypt) ||
EntityAttachment.SMIME_CONTENT.equals(apart.encrypt)) {
ContentType ct = new ContentType(apart.part.getContentType());
String boundary = ct.getParameter("boundary");
if (TextUtils.isEmpty(boundary))