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

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

Syntax

public void AddReference (KeyReference keyReference)

Parameters

keyReference
A System.Security.Cryptography.Xml.KeyReference object to add to the EncryptedKey.ReferenceList property.

Remarks

This method adds A System.Security.Cryptography.Xml.KeyReference object to the EncryptedKey.ReferenceList property of the System.Security.Cryptography.Xml.EncryptedKey object. The <KeyReference> element points to an encrypted key 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