EnvelopedSignatureWriter Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- innerWriter
- XmlWriter
The writer to wrap.
- signingCredentials
- SigningCredentials
The signing credentials to be used to generate the signature.
- referenceId
- String
The reference ID of the envelope.
- securityTokenSerializer
- SecurityTokenSerializer
The token serializer to use to serialize the signature KeyInfo.
Exceptions
referenceId
is null
or empty.
innerWriter
is null
.
-or-
signingCredentials
is null
.
-or-
securityTokenSerializer
is null
.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.