跳到主要内容

2.20. 更新 Section 7 - Version Negotiation

2.20. 更新 Section 7 - Version Negotiation

[RFC4210] Section 7 描述 CMP version 的使用. 本文档描述额外 CMP version cmp2021 的处理, 该版本用于指示支持 EnvelopedData 和 hashAlg.

将第二段文本替换为以下文本:

如果 client 知道 server 支持的 protocol version (例如来自先前的 PKIMessage 交换, 或通过某种 out-of-band 方式), 则它 MUST 发送一个 PKIMessage, 使用它自身与 server 都支持的最高版本. 如果 client 不知道 server 支持哪些版本, 则它 MUST 使用自身支持的最高版本发送 PKIMessage, 但有以下例外. 只有在所发送 request 或预期 response 需要 cmp2021 语法时, 才 SHOULD 使用 version cmp2021.

Note: 使用 cmp2000 作为默认 pvno, 是为了避免为 version negotiation 进行额外 message exchange, 并促进与 cmp2000 implementation 的兼容性. 只有当 message exchange 使用 hashAlg (位于 CertStatus 中) 或 EnvelopedData 时, 才需要 version cmp2021 语法.