EncryptedReference 构造函数

定义

初始化 EncryptedReference 类的新实例。Initializes a new instance of the EncryptedReference class.

重载

EncryptedReference()

初始化 EncryptedReference 类的新实例。Initializes a new instance of the EncryptedReference class.

EncryptedReference(String)

使用指定的统一资源标识符 (URI) 初始化 EncryptedReference 类的新实例。Initializes a new instance of the EncryptedReference class using the specified Uniform Resource Identifier (URI).

EncryptedReference(String, TransformChain)

使用指定的统一资源标识符 (URI) 和转换链初始化 EncryptedReference 类的新实例。Initializes a new instance of the EncryptedReference class using the specified Uniform Resource Identifier (URI) and transform chain.

EncryptedReference()

初始化 EncryptedReference 类的新实例。Initializes a new instance of the EncryptedReference class.

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

注解

此构造函数将初始化一个类,该类是一个在 XML 加密中使用的抽象基类,该类派生自、 CipherReference KeyReferenceDataReference 类。This constructor initializes a class that is an abstract base class used in XML encryption from which the CipherReference, KeyReference, and DataReference classes derive. 除非你的方案需要在 XML 中创建自定义引用节,否则请使用其中一个继承的类。Unless you have a scenario where you need to create a custom reference section in XML, use one of the inherited classes.

有关 XML 加密标准的详细信息,请参阅 Xml 加密要求For more information about XML encryption standards, see XML Encryption Requirements.

适用于

EncryptedReference(String)

使用指定的统一资源标识符 (URI) 初始化 EncryptedReference 类的新实例。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)

参数

uri
String

指向待加密数据的统一资源标识符 (URI)。The Uniform Resource Identifier (URI) that points to the data to encrypt.

例外

uri 参数为 nullThe uri parameter is null.

注解

uri参数提供有关要加密的数据的位置的信息。The uri parameter provides information about the location of the data to be encrypted.

此构造函数将初始化一个类,该类是一个在 XML 加密中使用的抽象基类,该类派生自、 CipherReference KeyReferenceDataReference 类。This constructor initializes a class that is an abstract base class used in XML encryption from which the CipherReference, KeyReference, and DataReference classes derive. 除非你的方案需要在 XML 中创建自定义引用节,否则请使用其中一个继承的类。Unless you have a scenario where you need to create a custom reference section in XML, use one of the inherited classes.

有关 XML 加密标准的详细信息,请参阅 Xml 加密要求For more information about XML encryption standards, see XML Encryption Requirements.

适用于

EncryptedReference(String, TransformChain)

使用指定的统一资源标识符 (URI) 和转换链初始化 EncryptedReference 类的新实例。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(System::String ^ uri, System::Security::Cryptography::Xml::TransformChain ^ tc);
protected EncryptedReference (string uri, System.Security.Cryptography.Xml.TransformChain transformChain);
protected EncryptedReference (string uri, System.Security.Cryptography.Xml.TransformChain tc);
new System.Security.Cryptography.Xml.EncryptedReference : string * System.Security.Cryptography.Xml.TransformChain -> System.Security.Cryptography.Xml.EncryptedReference
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)
Protected Sub New (uri As String, tc As TransformChain)

参数

uri
String

指向待加密数据的统一资源标识符 (URI)。The Uniform Resource Identifier (URI) that points to the data to encrypt.

transformChaintc
TransformChain

一个 TransformChain 对象,用于描述即将对待加密数据执行的传输。A TransformChain object that describes transforms to be done on the data to encrypt.

例外

uri 参数为 nullThe uri parameter is null.

注解

此类是一个在 XML 加密中使用的抽象基类,其中 CipherReference 派生了、 KeyReferenceDataReference 类。This class is an abstract base class used in XML encryption from which the CipherReference, KeyReference, and DataReference classes derive. 除非你的方案需要在 XML 中创建自定义引用节,否则请使用其中一个继承的类。Unless you have a scenario where you need to create a custom reference section in XML, use one of the inherited classes.

有关 XML 加密标准的详细信息,请参阅 Xml 加密要求For more information about XML encryption standards, see XML Encryption Requirements.

适用于