Disable S/MIME content encapsulation

This commit is contained in:
M66B 2019-12-21 18:58:12 +01:00
parent f1a0aabb0b
commit 27be0dd15c
1 changed files with 1 additions and 1 deletions

View File

@ -1991,7 +1991,7 @@ public class FragmentCompose extends FragmentBase {
bpContent.writeTo(osContent);
CMSTypedData cmsData = new CMSProcessableByteArray(osContent.toByteArray());
CMSSignedData cmsSignedData = cmsGenerator.generate(cmsData, true);
CMSSignedData cmsSignedData = cmsGenerator.generate(cmsData);
byte[] signedMessage = cmsSignedData.getEncoded();
// Build signature