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.​Signature
Assembly: System.Security.Cryptography.Xml
Inheritance: object → Signature
Represents the <see langword="<Signature>" /> element of an XML signature.
Properties
public
string
Id
Gets or sets the ID of the current <see cref="T:System.Security.Cryptography.Xml.Signature" /> .
public
KeyInfo
KeyInfo
Gets or sets the <see cref="T:System.Security.Cryptography.Xml.KeyInfo" /> of the current <see cref="T:System.Security.Cryptography.Xml.Signature" /> .
ObjectList
Gets or sets a list of objects to be signed.
public
byte[]
SignatureValue
Gets or sets the value of the digital signature.
public
SignedInfo
SignedInfo
Gets or sets the <see cref="T:System.Security.Cryptography.Xml.SignedInfo" /> of the current <see cref="T:System.Security.Cryptography.Xml.Signature" /> .
Methods
public
void
AddObject​(DataObject dataObject)
Adds a <see cref="T:System.Security.Cryptography.Xml.DataObject" /> to the list of objects to be signed.
dataObject
The <see cref="T:System.Security.Cryptography.Xml.DataObject" /> to be added to the list of objects to be signed.
GetXml​()
Returns the XML representation of the <see cref="T:System.Security.Cryptography.Xml.Signature" /> .
Returns The XML representation of the <see cref="T:System.Security.Cryptography.Xml.Signature" /> .
public
void
LoadXml​(Xml.​XmlElement value)
Loads a <see cref="T:System.Security.Cryptography.Xml.Signature" /> state from an XML element.
value
The XML element from which to load the <see cref="T:System.Security.Cryptography.Xml.Signature" /> 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