If the SMIMECapabilities attribute (1.2.840.113549.1.9.15) is found, the S/MIME Capabilities (typically encryption preferences) are decoded and listed. S/MIME capable email clients use the SMIMECapabilities attribute in received signed email messages to know the (ordered) encryption preferences of the sender.
Other Authenticated Attributes are not decoded in this utility, but can be easily handled the same way.
This utility uses P/Invoke to CryptoAPI functions:
C# Source
Sample output
SMIMECapabilities sent by various S/MIME email clients
Related:
Michel I. Gallant
neutron@istar.ca