Upraviť

Zdieľať cez


EncryptedKey.AddReference Method

Definition

Adds a reference element to the <ReferenceList> element.

Overloads

AddReference(DataReference)

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

AddReference(KeyReference)

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

AddReference(DataReference)

Source:
EncryptedKey.cs
Source:
EncryptedKey.cs

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

public:
 void AddReference(System::Security::Cryptography::Xml::DataReference ^ dataReference);
public void AddReference (System.Security.Cryptography.Xml.DataReference dataReference);
member this.AddReference : System.Security.Cryptography.Xml.DataReference -> unit
Public Sub AddReference (dataReference As DataReference)

Parameters

dataReference
DataReference

A DataReference object to add to the ReferenceList property.

Remarks

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

Applies to

AddReference(KeyReference)

Source:
EncryptedKey.cs
Source:
EncryptedKey.cs

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

public:
 void AddReference(System::Security::Cryptography::Xml::KeyReference ^ keyReference);
public void AddReference (System.Security.Cryptography.Xml.KeyReference keyReference);
member this.AddReference : System.Security.Cryptography.Xml.KeyReference -> unit
Public Sub AddReference (keyReference As KeyReference)

Parameters

keyReference
KeyReference

A KeyReference object to add to the ReferenceList property.

Remarks

This method adds A KeyReference object to the ReferenceList property of the EncryptedKey object. The <KeyReference> element points to an encrypted key that was encrypted using the key specified in the <EncryptedKey> element.

Applies to