Using System.Security.Cryptography.Pkcs

You can use System.Security.Cryptography.Pkcs to program cryptography into your application. This namespace implements the Cryptographic Message Syntax standard and PKCS #7. Using this standard, you can implement signed messages, enveloped messages, or signed and enveloped messages.

In This Section

The following topics provide information about System.Security.Cryptography.Pkcs namespace.

  • How to: Countersign a Message
    Creates a CMS/PKCS #7 signed message. The message is signed by a single signer. That signature is then countersigned by two other signers.
  • How to: Sign and Envelop a Message
    Creates a CMS/PKCS #7 enveloped signed message. The message is first signed by a single signer and is then encrypted for a single recipient.

Reference

System.Security.Cryptography.Pkcs

Footer image

Send comments about this topic to Microsoft.