DataReference Class
Represents the <DataReference> element used in XML encryption. This class cannot be inherited.
Assembly: System.Security (in System.Security.dll)
System.Security.Cryptography.Xml::EncryptedReference
System.Security.Cryptography.Xml::DataReference
| Name | Description | |
|---|---|---|
![]() | DataReference() | Initializes a new instance of the DataReference class. |
![]() | DataReference(String^) | Initializes a new instance of the DataReference class using the specified Uniform Resource Identifier (URI). |
![]() | DataReference(String^, TransformChain^) | Initializes a new instance of the DataReference class using the specified Uniform Resource Identifier (URI) and a TransformChain object. |
| Name | Description | |
|---|---|---|
![]() | CacheValid | Gets a value that indicates whether the cache is valid.(Inherited from EncryptedReference.) |
![]() | TransformChain | Gets or sets the transform chain of an EncryptedReference object.(Inherited from EncryptedReference.) |
![]() | Uri | Gets or sets the Uniform Resource Identifier (URI) of an EncryptedReference object.(Inherited from EncryptedReference.) |
| Name | Description | |
|---|---|---|
![]() | AddTransform(Transform^) | Adds a Transform object to the current transform chain of an EncryptedReference object.(Inherited from EncryptedReference.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | GetXml() | Returns the XML representation of an EncryptedReference object.(Inherited from EncryptedReference.) |
![]() | LoadXml(XmlElement^) | Loads an XML element into an EncryptedReference object.(Inherited from EncryptedReference.) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The DataReference class represents the <DataReference> element that contains the location of encrypted data used with XML encryption.
<DataReference> elements are used to refer to <EncryptedData> elements that were encrypted using the key defined in the enclosing <EncryptedKey> element. Multiple <DataReference> elements can occur if multiple <EncryptedData> elements exist that are encrypted using the same key.
For more information about XML encryption standards, see http://www.w3.org/TR/xmlenc-core/.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


