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

相关推荐
旋风菠萝2 分钟前
深入理解Java中的Minor GC、Major GC和Full GC
java·jvm·gc
苹果酱05672 分钟前
React方向:react脚手架的使用
java·vue.js·spring boot·mysql·课程设计
找不到、了3 分钟前
JVM如何处理多线程内存抢占问题
java·jvm
zhougl99616 分钟前
Apache HttpClient 5 用法-Java调用http服务
java·http·apache
spjhandsomeman19 分钟前
各个历史版本mysql/tomcat/Redis/Jdk/Apache/gitlab下载地址
java·redis·mysql·jdk·tomcat·gitlab
saadiya~26 分钟前
Vue 3 实现后端 Excel 文件流导出功能(Blob 下载详解)
前端·vue.js·excel
未来影子27 分钟前
面试中的线程题
java·数据库·面试
为美好的生活献上中指28 分钟前
java每日精进 5.18【文件存储】
java·开发语言·minio·七牛云存储·s3·七牛云
不再幻想,脚踏实地35 分钟前
Spring AOP从0到1
java·后端·spring