Export (0) Print
Expand All

XML Encryption and Digital Signatures 

The .NET Framework provides several classes that allow you to encrypt and decrypt XML data, and create and verify XML digital signatures. These classes provide a way to maintain the confidentiality and integrity of your XML data.

In This Section

How to: Encrypt XML Elements with Symmetric Keys

Describes how to encrypt an XML element using the Rijndael algorithm.

How to: Decrypt XML Elements with Symmetric Keys

Describes how to decrypt an XML element that was encrypted using the Rijndael algorithm.

How to: Encrypt XML Elements with Asymmetric Keys

Describes how to encrypt an XML element using the RSA algorithm.

How to: Decrypt XML Elements with Asymmetric Keys

Describes how to decrypt an XML element using the RSA algorithm.

How to: Encrypt XML Elements with X.509 Certificates

Describes how to encrypt an XML element using an X.509 certificate from a certificate store.

How to: Decrypt XML Elements with X.509 Certificates

Describes how to decrypt an XML element using an X.509 certificate from a certificate store.

How to: Sign XML Documents with Digital Signatures

Describes how to sign an XML document using the RSA algorithm.

How to: Verify the Digital Signatures of XML Documents

Describes how to verify an XML document using the RSA algorithm.

Reference

System.Security.Cryptography.Xml

Provides links to reference documentation for classes used for XML encryption and digital signatures.

System.Security.Cryptography.Xml.SignedXml

Describes the features of the SignedXml class, which is used to sign and verify XML data.

System.Security.Cryptography.Xml.EncryptedXml

Describes the features of the EncryptedXml class, which is used to encrypt and decrypt XML data.

Related Sections

Cryptographic Tasks

Describes common tasks used in cryptography such as decrypting and encrypting data, generating and verifying hash codes, and creating and verifying digital signatures.

Cryptographic Services

Provides an overview of the managed cryptographic API.

Community Additions

ADD
Show:
© 2014 Microsoft