Initializes an instance of T:Microsoft.IdentityModel.Protocols.XmlSignature.EnvelopingSignatureReader. The returned instance has the reader pointed at the Xml to be read. Signature will be validated.
Namespace: Microsoft.IdentityModel.Protocols.XmlSignature
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim innerReader As XmlReader
Dim securityTokenSerializer As SecurityTokenSerializer
Dim signingTokenResolver As SecurityTokenResolver

Dim instance As New EnvelopingSignatureReader(innerReader, securityTokenSerializer, signingTokenResolver)

Syntax

Visual Basic
Public Sub New ( _
		innerReader As XmlReader, _
		securityTokenSerializer As SecurityTokenSerializer, _
		signingTokenResolver As SecurityTokenResolver _
)
C#
public EnvelopingSignatureReader (
		XmlReader innerReader,
		SecurityTokenSerializer securityTokenSerializer,
		SecurityTokenResolver signingTokenResolver
)
C++
public:
EnvelopingSignatureReader (
		XmlReader^ innerReader, 
		SecurityTokenSerializer^ securityTokenSerializer, 
		SecurityTokenResolver^ signingTokenResolver
)
J#
public EnvelopingSignatureReader (
		XmlReader innerReader, 
		SecurityTokenSerializer securityTokenSerializer, 
		SecurityTokenResolver signingTokenResolver
)
JScript
public function EnvelopingSignatureReader (
		innerReader : XmlReader, 
		securityTokenSerializer : SecurityTokenSerializer, 
		signingTokenResolver : SecurityTokenResolver
)

Parameters

innerReader

Reader pointing to the Enveloping Signature.

securityTokenSerializer
signingTokenResolver

Token Resolver to resolve the signing key.

Exceptions

Exception type Condition
ArgumentNullException

One of the input parameter is null.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also