Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EnvelopedSignatureReader Constructor (XmlReader, SecurityTokenSerializer, SecurityTokenResolver)

.NET Framework 4.6 and 4.5

Initializes a new instance of the EnvelopedSignatureReader class by using the specified reader, security token serializer, and token resolver.

Namespace:  System.IdentityModel
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public EnvelopedSignatureReader(
	XmlReader reader,
	SecurityTokenSerializer securityTokenSerializer,
	SecurityTokenResolver signingTokenResolver
)

Parameters

reader
Type: System.Xml.XmlReader

A reader that is pointing to the enveloped signed XML.

securityTokenSerializer
Type: System.IdentityModel.Selectors.SecurityTokenSerializer

The token serializer to be used to deserialize the KeyInfo of the signature.

signingTokenResolver
Type: System.IdentityModel.Selectors.SecurityTokenResolver

The token resolver to be used to resolve the signing token. null specifies that a default security token resolver should be used.

ExceptionCondition
ArgumentNullException

reader is null.

-or-

securityTokenSerializer is null.

The EnvelopedSignatureReader.EnvelopedSignatureReader(XmlReader, SecurityTokenSerializer, SecurityTokenResolver, Boolean, Boolean, Boolean) constructor is invoked with the following additional parameters:

Parameter Name

Value

requireSignature

true

automaticallyReadSignature

true

resolveIntrinsicSigningKeys

true

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft