EnvelopedSignatureReader 构造函数

定义

初始化 EnvelopedSignatureReader 类的新实例。

重载

EnvelopedSignatureReader(XmlReader, SecurityTokenSerializer)

使用指定读取器和标记程序初始化 EnvelopedSignatureReader 类的新实例。

EnvelopedSignatureReader(XmlReader, SecurityTokenSerializer, SecurityTokenResolver)

使用指定读取器、安全令牌序列化程序和令牌解析器初始化 EnvelopedSignatureReader 类的新实例。

EnvelopedSignatureReader(XmlReader, SecurityTokenSerializer, SecurityTokenResolver, Boolean, Boolean, Boolean)

使用指定读取器、安全令牌序列化程序、令牌解析器和行为初始化 EnvelopedSignatureReader 类的新实例。

EnvelopedSignatureReader(XmlReader, SecurityTokenSerializer)

使用指定读取器和标记程序初始化 EnvelopedSignatureReader 类的新实例。

public:
 EnvelopedSignatureReader(System::Xml::XmlReader ^ reader, System::IdentityModel::Selectors::SecurityTokenSerializer ^ securityTokenSerializer);
public EnvelopedSignatureReader (System.Xml.XmlReader reader, System.IdentityModel.Selectors.SecurityTokenSerializer securityTokenSerializer);
new System.IdentityModel.EnvelopedSignatureReader : System.Xml.XmlReader * System.IdentityModel.Selectors.SecurityTokenSerializer -> System.IdentityModel.EnvelopedSignatureReader
Public Sub New (reader As XmlReader, securityTokenSerializer As SecurityTokenSerializer)

参数

reader
XmlReader

指向被包封签名的 XML 的读者。

securityTokenSerializer
SecurityTokenSerializer

用于反序列化 KeyInfo 署名的标记序列化程序。

例外

readernull

securityTokenSerializernull

注解

使用以下 EnvelopedSignatureReader.EnvelopedSignatureReader(XmlReader, SecurityTokenSerializer, SecurityTokenResolver, Boolean, Boolean, Boolean) 附加参数调用构造函数:

参数名称 “值”
signingTokenResolver null
requireSignature true
automaticallyReadSignature true
resolveIntrinsicSigningKeys true

适用于

EnvelopedSignatureReader(XmlReader, SecurityTokenSerializer, SecurityTokenResolver)

使用指定读取器、安全令牌序列化程序和令牌解析器初始化 EnvelopedSignatureReader 类的新实例。

public:
 EnvelopedSignatureReader(System::Xml::XmlReader ^ reader, System::IdentityModel::Selectors::SecurityTokenSerializer ^ securityTokenSerializer, System::IdentityModel::Selectors::SecurityTokenResolver ^ signingTokenResolver);
public EnvelopedSignatureReader (System.Xml.XmlReader reader, System.IdentityModel.Selectors.SecurityTokenSerializer securityTokenSerializer, System.IdentityModel.Selectors.SecurityTokenResolver signingTokenResolver);
new System.IdentityModel.EnvelopedSignatureReader : System.Xml.XmlReader * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.EnvelopedSignatureReader
Public Sub New (reader As XmlReader, securityTokenSerializer As SecurityTokenSerializer, signingTokenResolver As SecurityTokenResolver)

参数

reader
XmlReader

指向被包封签名的 XML 的读者。

securityTokenSerializer
SecurityTokenSerializer

用于反序列化 KeyInfo 署名的标记序列化程序。

signingTokenResolver
SecurityTokenResolver

标记解析器被用于解决签名令牌。 null 指定应使用默认安全令牌解析器。

例外

readernull

securityTokenSerializernull

注解

使用以下 EnvelopedSignatureReader.EnvelopedSignatureReader(XmlReader, SecurityTokenSerializer, SecurityTokenResolver, Boolean, Boolean, Boolean) 附加参数调用构造函数:

参数名称 “值”
requireSignature true
automaticallyReadSignature true
resolveIntrinsicSigningKeys true

适用于

EnvelopedSignatureReader(XmlReader, SecurityTokenSerializer, SecurityTokenResolver, Boolean, Boolean, Boolean)

使用指定读取器、安全令牌序列化程序、令牌解析器和行为初始化 EnvelopedSignatureReader 类的新实例。

public:
 EnvelopedSignatureReader(System::Xml::XmlReader ^ reader, System::IdentityModel::Selectors::SecurityTokenSerializer ^ securityTokenSerializer, System::IdentityModel::Selectors::SecurityTokenResolver ^ signingTokenResolver, bool requireSignature, bool automaticallyReadSignature, bool resolveIntrinsicSigningKeys);
public EnvelopedSignatureReader (System.Xml.XmlReader reader, System.IdentityModel.Selectors.SecurityTokenSerializer securityTokenSerializer, System.IdentityModel.Selectors.SecurityTokenResolver signingTokenResolver, bool requireSignature, bool automaticallyReadSignature, bool resolveIntrinsicSigningKeys);
new System.IdentityModel.EnvelopedSignatureReader : System.Xml.XmlReader * System.IdentityModel.Selectors.SecurityTokenSerializer * System.IdentityModel.Selectors.SecurityTokenResolver * bool * bool * bool -> System.IdentityModel.EnvelopedSignatureReader
Public Sub New (reader As XmlReader, securityTokenSerializer As SecurityTokenSerializer, signingTokenResolver As SecurityTokenResolver, requireSignature As Boolean, automaticallyReadSignature As Boolean, resolveIntrinsicSigningKeys As Boolean)

参数

reader
XmlReader

指向被包封签名的 XML 的读者。

securityTokenSerializer
SecurityTokenSerializer

用于反序列化 KeyInfo 署名的标记序列化程序。

signingTokenResolver
SecurityTokenResolver

标记解析器被用于解决签名令牌。 null 指定应使用默认安全令牌解析器。

requireSignature
Boolean

如果该签名是必需的,则为 true;否则为 false

automaticallyReadSignature
Boolean

如果应读取前面,则为 true;否则为 false

resolveIntrinsicSigningKeys
Boolean

如果应解决内部签名密钥,则为 true;否则为 false

例外

readernull

securityTokenSerializernull

适用于