跳到主要内容

2.9. 更新 Section 5.3.4 - Certification Response

2.9. 更新 Section 5.3.4 - Certification Response

[RFC4210] Section 5.3.4 描述 Certification Response. 如上文 Section 2.7 所述, 本文档通过使用 parent structure EncryptedKey 而不是 EncryptedValue 来更新语法. 此外, 它澄清了响应 p10cr message 时使用的 certReqId.

将 ASN.1 语法替换为以下文本 (Note: 这也修复 Errata ID 3949 和 4078):

CertRepMessage ::= SEQUENCE {
caPubs [1] SEQUENCE SIZE (1..MAX) OF CMPCertificate
OPTIONAL,
response SEQUENCE OF CertResponse
}

CertResponse ::= SEQUENCE {
certReqId INTEGER,
status PKIStatusInfo,
certifiedKeyPair CertifiedKeyPair OPTIONAL,
rspInfo OCTET STRING OPTIONAL
-- analogous to the id-regInfo-utf8Pairs string defined
-- for regInfo in CertReqMsg [RFC4211]
}

CertifiedKeyPair ::= SEQUENCE {
certOrEncCert CertOrEncCert,
privateKey [0] EncryptedKey OPTIONAL,
publicationInfo [1] PKIPublicationInfo OPTIONAL
}

CertOrEncCert ::= CHOICE {
certificate [0] CMPCertificate,
encryptedCert [1] EncryptedKey
}

在定义 rspInfo 的文本之后添加以下文本:

当用于响应只包含单个 certification request 的 p10cr message 时, certReqId 的值 MUST 为 -1.