System.Security.Cryptography.Xml.EncryptedKey.AddReference Method

Adds a <DataReference> element to the <ReferenceList> element.

Syntax

public void AddReference (DataReference dataReference)

Parameters

dataReference
A System.Security.Cryptography.Xml.DataReference object to add to the EncryptedKey.ReferenceList property.

Remarks

This method adds a System.Security.Cryptography.Xml.DataReference object to the EncryptedKey.ReferenceList property of the System.Security.Cryptography.Xml.EncryptedKey object. The <DataReference> element points to encrypted data that was encrypted using the key specified in the <EncryptedKey> element.

Requirements

Namespace: System.Security.Cryptography.Xml
Assembly: System.Security (in System.Security.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0