KeyInfoClause Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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

NameDescription
System_CAPS_protmethodKeyInfoClause()

Initializes a new instance of KeyInfoClause.

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

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

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodGetXml()

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

System_CAPS_pubmethodLoadXml(XmlElement)

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

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodToString()

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 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/.

.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
Show: