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 节或 XML 加密规范(可在 W3C 网站上获取)。

构造函数

KeyInfoRetrievalMethod()

初始化 KeyInfoRetrievalMethod 类的新实例。

KeyInfoRetrievalMethod(String)

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

KeyInfoRetrievalMethod(String, String)

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

属性

Type

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

Uri

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

方法

Equals(Object)

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

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
GetXml()

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

LoadXml(XmlElement)

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

MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

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

(继承自 Object)

适用于