Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Cryptography.​Xml.​KeyInfo
Assembly: System.Security.Cryptography.Xml
Inheritance: object → KeyInfo
Implemented Interfaces
Represents an XML digital signature or XML encryption <see langword="<KeyInfo>" /> element.
Properties
public
int
Count
Gets the number of <see cref="T:System.Security.Cryptography.Xml.KeyInfoClause" /> objects contained in the <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> object.
public
string
Id
Gets or sets the key information identity.
Methods
public
void
AddClause​(KeyInfoClause clause)
Adds a <see cref="T:System.Security.Cryptography.Xml.KeyInfoClause" /> that represents a particular type of <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> information to the <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> object.
clause
The <see cref="T:System.Security.Cryptography.Xml.KeyInfoClause" /> to add to the <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> object.
GetEnumerator​()
Returns an enumerator of the <see cref="T:System.Security.Cryptography.Xml.KeyInfoClause" /> objects in the <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> object.
Returns An enumerator of the subelements of <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> that can be used to iterate through the collection.
GetEnumerator​(Type requestedObjectType)
Returns an enumerator of the <see cref="T:System.Security.Cryptography.Xml.KeyInfoClause" /> objects of the specified type in the <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> object.
Returns An enumerator of the subelements of <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> that can be used to iterate through the collection.
requestedObjectType
The type of object to enumerate.
GetXml​()
Returns the XML representation of the <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> object.
Returns The XML representation of the <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> object.
public
void
LoadXml​(Xml.​XmlElement value)
Loads a <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> state from an XML element.
value
The XML element from which to load the <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> state.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object