第五十五章 安全元素的详细信息 - ReferenceList 详情

文章目录

  • [第五十五章 安全元素的详细信息 - <ReferenceList> 详情](#第五十五章 安全元素的详细信息 - <ReferenceList> 详情)
  • 详情
  • 消息中的位置

第五十五章 安全元素的详细信息 - 详情

本节讨论在消息头中用作 <Security>子元素的 <ReferenceList> 元素。当以这种方式使用 <ReferenceList> 时,可以在签名之前执行加密。以下显示了此元素的一个示例:

xml 复制代码
<ReferenceList xmlns="http://www.w3.org/2001/04/xmlenc#">
   <DataReference URI="#Enc-358FB189-81B3-465D-AFEC-BC28A92B179C"></DataReference>
   <DataReference URI="#Enc-9EF5CCE4-CF43-407F-921D-931B5159672D"></DataReference>
</ReferenceList>

详情

在每个 <DataReference> 元素中,URI 属性指向消息中其他位置的 <EncryptedData> 元素的 Id 属性。

使用顶级 <ReferenceList> 元素时,<EncryptedKey> and <EncryptedData> 的详细信息有所不同,如下所示:

Scenario
contains pointer to Includes (same for all associated elements) Does not include
Top-level element contains pointer to Does not include Includes (potentially different for each element.

消息中的位置

在 <Security> 中,应在关联的 <EncryptedKey> 之后包含一个 <ReferenceList> 元素。

相关推荐
前端Hardy2 分钟前
HTML&CSS:3D图片切换效果
前端·javascript
LjQ20406 分钟前
网络爬虫一课一得
开发语言·数据库·python·网络爬虫
异常君6 分钟前
高并发数据写入场景下 MySQL 的性能瓶颈与替代方案
java·mysql·性能优化
烙印60110 分钟前
MyBatis原理剖析(二)
java·数据库·mybatis
你是狒狒吗13 分钟前
TM中,return new TransactionManagerImpl(raf, fc);为什么返回是new了一个新的实例
java·开发语言·数据库
spionbo23 分钟前
Vue 表情包输入组件实现代码及完整开发流程解析
前端·javascript·面试
全宝23 分钟前
✏️Canvas实现环形文字
前端·javascript·canvas
lyc23333324 分钟前
鸿蒙Core File Kit:极简文件管理指南📁
前端
勤奋的知更鸟24 分钟前
Java编程之组合模式
java·开发语言·设计模式·组合模式