EnvelopedSignatureWriter 构造函数

定义

初始化 EnvelopedSignatureWriter 类的新实例。

public:
 EnvelopedSignatureWriter(System::Xml::XmlWriter ^ innerWriter, System::IdentityModel::Tokens::SigningCredentials ^ signingCredentials, System::String ^ referenceId, System::IdentityModel::Selectors::SecurityTokenSerializer ^ securityTokenSerializer);
public EnvelopedSignatureWriter (System.Xml.XmlWriter innerWriter, System.IdentityModel.Tokens.SigningCredentials signingCredentials, string referenceId, System.IdentityModel.Selectors.SecurityTokenSerializer securityTokenSerializer);
new System.IdentityModel.EnvelopedSignatureWriter : System.Xml.XmlWriter * System.IdentityModel.Tokens.SigningCredentials * string * System.IdentityModel.Selectors.SecurityTokenSerializer -> System.IdentityModel.EnvelopedSignatureWriter
Public Sub New (innerWriter As XmlWriter, signingCredentials As SigningCredentials, referenceId As String, securityTokenSerializer As SecurityTokenSerializer)

参数

innerWriter
XmlWriter

要包装的编写器。

signingCredentials
SigningCredentials

用来生成签名的签名凭据。

referenceId
String

信封的引用 ID。

securityTokenSerializer
SecurityTokenSerializer

用于序列化 KeyInfo 署名的标记序列化程序。

例外

referenceIdnull 或空。

innerWriternull

signingCredentialsnull

securityTokenSerializernull

适用于