System.Security.Cryptography.Xml.KeyInfo Class

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

See Also: KeyInfo Members


public class KeyInfo : IEnumerable


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, or see the XML encryption specification, which is available from the W3C at


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