Fixed micalg encrypted messages

This commit is contained in:
M66B
2021-09-07 17:27:10 +02:00
parent 12f4823c91
commit d077fa387a

View File

@@ -3538,7 +3538,7 @@ public class FragmentCompose extends FragmentBase {
// Build message
ContentType ct = new ContentType("multipart/signed");
ct.setParameter("micalg", "sha-256");
ct.setParameter("micalg", micalg);
ct.setParameter("protocol", "application/pkcs7-signature");
ct.setParameter("smime-type", "signed-data");
String ctx = ct.toString();