语言

KeyInfoRetrievalMethod 类

定义

使用 XMLDSIG 或 XML 加密时,引用 KeyInfo 存储在其他位置的对象。

public ref class KeyInfoRetrievalMethod : System::Security::Cryptography::Xml::KeyInfoClause
public class KeyInfoRetrievalMethod : System.Security.Cryptography.Xml.KeyInfoClause
type KeyInfoRetrievalMethod = class
    inherit KeyInfoClause
Public Class KeyInfoRetrievalMethod
Inherits KeyInfoClause
继承
KeyInfoRetrievalMethod

注解

该 KeyInfoRetrievalMethod 类表示 <RetrievalMethod> XML 加密和 XML 数字签名的元素。

使用 KeyInfoRetrievalMethod 类在多个 XMLDSIG 签名或加密的 XML 文档中引用相同的 KeyInfo 信息,尤其是在引用的信息很大时。 例如, <RetrievalMethod> 子元素可用于引用 KeyInfoX509Data 包含 X.509v3 证书链的对象,该链验证签名密钥。

有关该元素的详细信息 <RetrievalMethod> ,请参阅 XMLDSIG 规范 的第 4.4.3 节或 W3C 网站上提供的 XML 加密规范。

构造函数

名称 说明
KeyInfoRetrievalMethod()

初始化 KeyInfoRetrievalMethod 类的新实例。

KeyInfoRetrievalMethod(String, String)

使用指定的统一资源标识符(URI)初始化类的新实例,该实例 KeyInfoRetrievalMethod 指向引用 KeyInfo 的对象和描述要检索的数据类型的 URI。

KeyInfoRetrievalMethod(String)

使用指向所KeyInfoRetrievalMethod引用对象的指定统一资源标识符(URI)初始化类的新实例KeyInfo。

属性

名称 说明
Type

获取或设置描述要检索的数据类型的统一资源标识符(URI)。

Uri

获取或设置对象的统一资源标识符(URI)。KeyInfoRetrievalMethod

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
GetXml()

返回对象的 KeyInfoRetrievalMethod XML 表示形式。

LoadXml(XmlElement)

分析输入 XmlElement 对象并配置要匹配的对象的内部状态 KeyInfoRetrievalMethod 。

MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于