In older versions (e.g. 23.11.) MailMessage had an encrypt method that took an array of X509Certificate2 as parameter so we were able to encrypt a MailMessage for multiple recipients.
It seems the API has changed in new…...contain the exact method signatures, the above steps are intentionally...signing, decryption, and signature validation all work as expected:...