THPDFCMSDigestConsistencyIssue Type

指出驗證簽章時是哪一項 CMS 摘要一致性檢查失敗

宣告

THPDFCMSDigestConsistencyIssue= (
  dciNone,
  dciSignerDigestNotDeclared,
  dciSignatureDigestMismatch,
  dciAlgorithmProtectionDigestMismatch,
  dciAlgorithmProtectionSignatureMismatch
  );

單元

HPDFSignVerify

值

值用途
dciNone所有摘要一致性檢查都通過
dciSignerDigestNotDeclared簽署者的已簽署屬性未宣告必要的訊息摘要屬性
dciSignatureDigestMismatch已簽署內容的計算摘要與宣告的訊息摘要或簽章值不符
dciAlgorithmProtectionDigestMismatch摘要與 algorithm-protection 屬性所保護的值不符
dciAlgorithmProtectionSignatureMismatch簽章演算法與 algorithm-protection 屬性釘選的演算法不符

使用說明

相關 API