The current implementation of SMIMEEnvelopedUtil includes the same algorithm ID three times in the list:
authOIDs.add(NISTObjectIdentifiers.id_aes128_GCM);
authOIDs.add(NISTObjectIdentifiers.id_aes128_GCM);
authOIDs.add(NISTObjectIdentifiers.id_aes128_GCM);
Instead, it should be:
authOIDs.add(NISTObjectIdentifiers.id_aes128_GCM);
authOIDs.add(NISTObjectIdentifiers.id_aes192_GCM);
authOIDs.add(NISTObjectIdentifiers.id_aes256_GCM);
Compare the comment with the original contribution.
The current implementation of SMIMEEnvelopedUtil includes the same algorithm ID three times in the list:
Instead, it should be:
Compare the comment with the original contribution.