Partilhar via


EnvelopedSignatureWriter Construtor

Definição

Inicializa uma nova instância da classe 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)

Parâmetros

innerWriter
XmlWriter

O gravador a ser encapsulado.

signingCredentials
SigningCredentials

As credenciais de assinatura a serem usadas para gerar a assinatura.

referenceId
String

A ID de referência do envelope.

securityTokenSerializer
SecurityTokenSerializer

O serializador de token a ser usado para serializar o KeyInfo da assinatura.

Exceções

referenceId é null ou vazio.

innerWriter é null.

- ou -

signingCredentials é null.

- ou -

securityTokenSerializer é null.

Aplica-se a