EncryptedReference Constructors

Definition

Initializes a new instance of the EncryptedReference class.

Overloads

EncryptedReference()

Initializes a new instance of the EncryptedReference class.

EncryptedReference(String)

Initializes a new instance of the EncryptedReference class using the specified Uniform Resource Identifier (URI).

EncryptedReference(String, TransformChain)

Initializes a new instance of the EncryptedReference class using the specified Uniform Resource Identifier (URI) and transform chain.

EncryptedReference()

Source:
EncryptedReference.cs
Source:
EncryptedReference.cs

Initializes a new instance of the EncryptedReference class.

protected:
 EncryptedReference();
protected EncryptedReference ();
Protected Sub New ()

Remarks

This constructor initializes a class that is an abstract base class used in XML encryption from which the CipherReference, KeyReference, and DataReference classes derive. Unless you have a scenario where you need to create a custom reference section in XML, use one of the inherited classes.

For more information about XML encryption standards, see XML Encryption Requirements.

Applies to

EncryptedReference(String)

Source:
EncryptedReference.cs
Source:
EncryptedReference.cs

Initializes a new instance of the EncryptedReference class using the specified Uniform Resource Identifier (URI).

protected:
 EncryptedReference(System::String ^ uri);
protected EncryptedReference (string uri);
new System.Security.Cryptography.Xml.EncryptedReference : string -> System.Security.Cryptography.Xml.EncryptedReference
Protected Sub New (uri As String)

Parameters

uri
String

The Uniform Resource Identifier (URI) that points to the data to encrypt.

Exceptions

The uri parameter is null.

Remarks

The uri parameter provides information about the location of the data to be encrypted.

This constructor initializes a class that is an abstract base class used in XML encryption from which the CipherReference, KeyReference, and DataReference classes derive. Unless you have a scenario where you need to create a custom reference section in XML, use one of the inherited classes.

For more information about XML encryption standards, see XML Encryption Requirements.

Applies to

EncryptedReference(String, TransformChain)

Source:
EncryptedReference.cs
Source:
EncryptedReference.cs

Initializes a new instance of the EncryptedReference class using the specified Uniform Resource Identifier (URI) and transform chain.

protected:
 EncryptedReference(System::String ^ uri, System::Security::Cryptography::Xml::TransformChain ^ transformChain);
protected EncryptedReference (string uri, System.Security.Cryptography.Xml.TransformChain transformChain);
new System.Security.Cryptography.Xml.EncryptedReference : string * System.Security.Cryptography.Xml.TransformChain -> System.Security.Cryptography.Xml.EncryptedReference
Protected Sub New (uri As String, transformChain As TransformChain)

Parameters

uri
String

The Uniform Resource Identifier (URI) that points to the data to encrypt.

transformChain
TransformChain

A TransformChain object that describes transforms to be done on the data to encrypt.

Exceptions

The uri parameter is null.

Remarks

This class is an abstract base class used in XML encryption from which the CipherReference, KeyReference, and DataReference classes derive. Unless you have a scenario where you need to create a custom reference section in XML, use one of the inherited classes.

For more information about XML encryption standards, see XML Encryption Requirements.

Applies to