Partager via


EnvelopedSignatureWriter Constructors

Definition

Overloads

EnvelopedSignatureWriter(XmlWriter, SigningCredentials, String)

Initializes an instance of EnvelopedSignatureWriter. The returned writer can be directly used to write the envelope. The signature will be automatically generated when the envelope is completed.

EnvelopedSignatureWriter(XmlWriter, SigningCredentials, String, String)

Initializes an instance of EnvelopedSignatureWriter. The returned writer can be directly used to write the envelope. The signature will be automatically generated when the envelope is completed.

EnvelopedSignatureWriter(XmlWriter, SigningCredentials, String)

Initializes an instance of EnvelopedSignatureWriter. The returned writer can be directly used to write the envelope. The signature will be automatically generated when the envelope is completed.

public EnvelopedSignatureWriter (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.SigningCredentials signingCredentials, string referenceId);
new Microsoft.IdentityModel.Xml.EnvelopedSignatureWriter : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.SigningCredentials * string -> Microsoft.IdentityModel.Xml.EnvelopedSignatureWriter
Public Sub New (writer As XmlWriter, signingCredentials As SigningCredentials, referenceId As String)

Parameters

writer
XmlWriter

Writer to wrap/

signingCredentials
SigningCredentials

SigningCredentials to be used to generate the signature.

referenceId
String

The reference Id of the envelope.

Exceptions

if referenceId is null or Empty.

Applies to

EnvelopedSignatureWriter(XmlWriter, SigningCredentials, String, String)

Initializes an instance of EnvelopedSignatureWriter. The returned writer can be directly used to write the envelope. The signature will be automatically generated when the envelope is completed.

public EnvelopedSignatureWriter (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.SigningCredentials signingCredentials, string referenceId, string inclusivePrefixList);
new Microsoft.IdentityModel.Xml.EnvelopedSignatureWriter : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.SigningCredentials * string * string -> Microsoft.IdentityModel.Xml.EnvelopedSignatureWriter
Public Sub New (writer As XmlWriter, signingCredentials As SigningCredentials, referenceId As String, inclusivePrefixList As String)

Parameters

writer
XmlWriter

Writer to wrap/

signingCredentials
SigningCredentials

SigningCredentials to be used to generate the signature.

referenceId
String

The reference Id of the envelope.

inclusivePrefixList
String

inclusive prefix list to use for exclusive canonicalization.

Exceptions

if referenceId is null or Empty.

Applies to