Recognize S/MIME

This commit is contained in:
M66B
2019-12-02 08:35:09 +01:00
parent 973273e913
commit b39a7e852d
8 changed files with 66 additions and 36 deletions

View File

@@ -60,6 +60,9 @@ public class EntityAttachment {
static final Integer PGP_SIGNATURE = 2;
static final Integer PGP_KEY = 3;
static final Integer PGP_CONTENT = 4;
static final Integer SMIME_MESSAGE = 5;
static final Integer SMIME_SIGNATURE = 6;
static final Integer SMIME_CONTENT = 8;
// https://developer.android.com/guide/topics/media/media-formats#image-formats
private static final List<String> IMAGE_TYPES = Collections.unmodifiableList(Arrays.asList(