System.Security.Cryptography.Xml.EncryptionMethod Class

Encapsulates the encryption algorithm used for XML encryption.

See Also: EncryptionMethod Members

Syntax

public class EncryptionMethod

Remarks

The <EncryptionMethod> tag uses a Uniform Resource Identifier (URI) to identify the encryption algorithm that must be used to decrypt XML data. The System.Security.Cryptography.Xml.EncryptionMethod class encapsulates the <EncryptionMethod> tag defined by the World Wide Web Consortium XML Encryption specification located at http://www.w3.org/TR/xmlenc-core/.

Use the System.Security.Cryptography.Xml.EncryptionMethod class to identify the encryption algorithm associated with the System.Security.Cryptography.Xml.EncryptedData element or the System.Security.Cryptography.Xml.EncryptedKey element.

Use one of the URI identifiers defined by the World Wide Web Consortium XML Encryption specification located at http://www.w3.org/TR/xmlenc-core/. All URI identifiers are accessible as static fields of the System.Security.Cryptography.Xml.EncryptedXml class.

Requirements

Namespace: System.Security.Cryptography.Xml
Assembly: System.Security (in System.Security.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0