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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.