2.10. 更新 Section 5.3.18 - Certificate Confirmation Content
2.10. 更新 Section 5.3.18 - Certificate Confirmation Content
本节为 certConf message 中使用的 CertStatus 类型引入可选 hashAlg 字段, 用于为那些 signatureAlgorithm 字段未指定 hash algorithm 的 certificate 显式指定 hash algorithm.
将 CertStatus 的 ASN.1 语法替换为以下文本:
CertStatus ::= SEQUENCE {
certHash OCTET STRING,
certReqId INTEGER,
statusInfo PKIStatusInfo OPTIONAL,
hashAlg [0] AlgorithmIdentifier{DIGEST-ALGORITHM, {...}}
OPTIONAL
}
hashAlg 字段 SHOULD 只在特殊情况下使用, 即待确认 certificate 的 signatureAlgorithm 未在 OID 或参数中指定 hash algorithm. 在这些情况下, 例如 EdDSA, hashAlg MUST 用于指定计算 certHash 值时要使用的 hash algorithm. 否则, certHash 值 SHALL 使用与创建和验证 certificate signature 相同的 hash algorithm 计算. 如果使用 hashAlg, certConf message header 指示的 CMP version 必须是 cmp2021(3).