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.​Reference

Assembly: System.Security.Cryptography.Xml

Inheritance: object → Reference

Represents the <see langword="&lt;reference&gt;" /> element of an XML signature.

Properties

public string
DigestMethod
Gets or sets the digest method Uniform Resource Identifier (URI) of the current <see cref="T:System.Security.Cryptography.Xml.Reference" /> .
public byte[]
DigestValue
Gets or sets the digest value of the current <see cref="T:System.Security.Cryptography.Xml.Reference" /> .
public string
Id
Gets or sets the ID of the current <see cref="T:System.Security.Cryptography.Xml.Reference" /> .
TransformChain
Gets the transform chain of the current <see cref="T:System.Security.Cryptography.Xml.Reference" /> .
public string
Type
Gets or sets the type of the object being signed.
public string
Uri
Gets or sets the <see cref="T:System.Uri" /> of the current <see cref="T:System.Security.Cryptography.Xml.Reference" /> .

Methods

public void
AddTransform​(Transform transform)
Adds a <see cref="T:System.Security.Cryptography.Xml.Transform" /> object to the list of transforms to be performed on the data before passing it to the digest algorithm.
transform The transform to be added to the list of transforms.
GetXml​()
Returns the XML representation of the <see cref="T:System.Security.Cryptography.Xml.Reference" /> .
Returns The XML representation of the <see cref="T:System.Security.Cryptography.Xml.Reference" /> .
public void
LoadXml​(Xml.​XmlElement value)
Loads a <see cref="T:System.Security.Cryptography.Xml.Reference" /> state from an XML element.
value The XML element from which to load the <see cref="T:System.Security.Cryptography.Xml.Reference" /> state.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object