跳到主要内容

2.3. 更新 Section 5.1.1 - PKI Message Header

2.3. 更新 Section 5.1.1 - PKI Message Header

[RFC4210] Section 5.1.1 描述 PKI message header. 本文档引入新的 version 3, 表示支持 Section 2.7 中规定的 EnvelopedData, 以及 Section 2.10 中规定的 hashAlg.

将 PKIHeader 的 ASN.1 语法以及随后关于 pvno 的描述替换为以下文本:

PKIHeader ::= SEQUENCE {
pvno INTEGER { cmp1999(1), cmp2000(2),
cmp2021(3) },
sender GeneralName,
recipient GeneralName,
messageTime [0] GeneralizedTime OPTIONAL,
protectionAlg [1] AlgorithmIdentifier{ALGORITHM, {...}}
OPTIONAL,
senderKID [2] KeyIdentifier OPTIONAL,
recipKID [3] KeyIdentifier OPTIONAL,
transactionID [4] OCTET STRING OPTIONAL,
senderNonce [5] OCTET STRING OPTIONAL,
recipNonce [6] OCTET STRING OPTIONAL,
freeText [7] PKIFreeText OPTIONAL,
generalInfo [8] SEQUENCE SIZE (1..MAX) OF
InfoTypeAndValue OPTIONAL
}

PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String

protocol version number (pvno) 的用法见 Section 7.