System.Security.Cryptography.Xml.KeyInfo Class

Represents an XML digital signature or XML encryption <KeyInfo> element.

See Also: KeyInfo Members

Syntax

public class KeyInfo : IEnumerable

Remarks

The System.Security.Cryptography.Xml.KeyInfo class represents key information in XML digital signing and encryption.

The System.Security.Cryptography.Xml.KeyInfo class enables you to imbed key-related information intended to help identify the key necessary for validating or decrypting the XML document. Multiple types of key-related information can be included within a single System.Security.Cryptography.Xml.KeyInfo; each type of key-related information has an associated class derived from System.Security.Cryptography.Xml.KeyInfoClause.

For more information about the <KeyInfo> element, see the XMLDSIG specification, which is available from the W3C at www.w3.org/TR/xmldsig-core/, or see the XML encryption specification, which is available from the W3C at www.w3.org/TR/xmlenc-core/.

Requirements

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