EnvelopedSignatureWriter(XmlWriter, SigningCredentials, String, SecurityTokenSerializer) Constructeur

Définition

Initialise une nouvelle instance de la classe EnvelopedSignatureWriter.Initializes a new instance of the EnvelopedSignatureWriter class.

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)

Paramètres

innerWriter
XmlWriter

Enregistreur à encapsuler.The writer to wrap.

signingCredentials
SigningCredentials

Informations d'identification de signature à utiliser pour générer la signature.The signing credentials to be used to generate the signature.

referenceId
String

ID de référence de l'enveloppe.The reference ID of the envelope.

securityTokenSerializer
SecurityTokenSerializer

Sérialiseur de jeton à utiliser pour sérialiser le KeyInfo de signature.The token serializer to use to serialize the signature KeyInfo.

Exceptions

referenceId a la valeur null ou est vide.referenceId is null or empty.

innerWriter a la valeur null.innerWriter is null.

- ou --or- signingCredentials a la valeur null.signingCredentials is null.

- ou --or- securityTokenSerializer a la valeur null.securityTokenSerializer is null.

S’applique à