THPDFCMSDigestConsistencyIssue Type

Pinpoints which CMS digest consistency check failed while verifying a signature

Declaration

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

Unit

HPDFSignVerify

Values

ValuePurpose
dciNoneEvery digest consistency check passed
dciSignerDigestNotDeclaredThe signer's signed attributes do not declare the mandatory message-digest attribute
dciSignatureDigestMismatchThe computed digest of the signed content does not match the declared message digest or the signature value
dciAlgorithmProtectionDigestMismatchThe digest does not match the value protected by the algorithm-protection attribute
dciAlgorithmProtectionSignatureMismatchThe signature algorithm does not match the algorithm pinned by the algorithm-protection attribute

Usage notes

Related APIs