第五十五章 安全元素的详细信息 - 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> 元素。

相关推荐
Lsx_2 分钟前
TypeScript 是怎么去查找类型定义的?
前端·javascript·typescript
Despacito0o3 分钟前
C语言基础:变量与进制详解
java·c语言·开发语言
xianxin_13 分钟前
CSS Dimension(尺寸)
前端
小宋搬砖第一名13 分钟前
前端包体积优化实战-从 352KB 到 7.45KB 的极致瘦身
前端
陈随易14 分钟前
前端之虎陈随易:2025年8月上旬总结分享
前端·后端·程序员
草巾冒小子18 分钟前
天地图应用篇:增加全屏、图层选择功能
前端
nightunderblackcat23 分钟前
进阶向:人物关系三元组,解锁人物关系网络的钥匙
开发语言·python·开源·php
universe_0137 分钟前
day25|学习前端js
前端·笔记
MrSYJ41 分钟前
UserDetailService是在什么环节生效的,为什么自定义之后就能被识别
java·spring boot·后端
Zuckjet42 分钟前
V8 引擎的性能魔法:JSON 序列化的 2 倍速度提升之路
前端·chrome·v8