KeyInfoClause Class


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Represents the abstract base class from which all implementations of KeyInfo subelements inherit.

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

[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public abstract class KeyInfoClause


Initializes a new instance of KeyInfoClause.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)


Serves as the default hash function. (Inherited from Object.)


Gets the Type of the current instance.(Inherited from Object.)


When overridden in a derived class, returns an XML representation of the KeyInfoClause.


When overridden in a derived class, parses the input XmlElement and configures the internal state of the KeyInfoClause to match.


Creates a shallow copy of the current Object.(Inherited from Object.)


Returns a string that represents the current object.(Inherited from Object.)

You can use KeyInfoClause objects to build a KeyInfo object for a specific digital signature or encrypted XML document. KeyInfo allows recipients of XML digital signatures and encrypted XML documents to determine which signing method and key values should be used for validation and decryption.

For more information about the KeyInfo element and its subelements, see the XMLDSIG specification, which is available from the W3C at, or see the XML encryption specification, which is available from the W3C at

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top