Bagikan melalui


EnvelopedSignatureWriter Konstruktor

Definisi

Menginisialisasi instans baru kelas 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)

Parameter

innerWriter
XmlWriter

Penulis yang akan dibungkus.

signingCredentials
SigningCredentials

Kredensial penandatanganan yang akan digunakan untuk menghasilkan tanda tangan.

referenceId
String

ID referensi amplop.

securityTokenSerializer
SecurityTokenSerializer

Serializer token yang digunakan untuk membuat serialisasi tanda tangan KeyInfo.

Pengecualian

referenceId adalah null atau kosong.

innerWriteradalah null.

-atau-

signingCredentialsadalah null.

-atau-

securityTokenSerializeradalah null.

Berlaku untuk