THPDFSignatureVerifyStatus Type
Reports the result of verifying a loaded CMS signature
Declaration
THPDFSignatureVerifyStatus= (
svNotVerified, // parsed only; VerifyLoadedSignature not run yet
svValid, // digest matches and signature verifies
svDigestMismatch, // document bytes changed after signing
svSignatureInvalid, // cryptographic signature check failed
svUnsupportedAlgorithm, // unknown key, curve, or digest algorithm
svMalformed, // CMS structure could not be parsed
svSourceUnavailable, // no source bytes available to hash
svCryptoProviderError, // native cryptographic provider failed
svInvalidByteRange, // /ByteRange is malformed, overlapping, or out of bounds
svDigestAlgorithmMismatch, // CMS digest algorithm identifiers are inconsistent
svSignaturePolicyMismatch // required or pinned signature policy did not match
);
Unit
HPDFSignVerify
Values
| Value | Meaning |
|---|---|
svNotVerified |
The signature was parsed only; VerifyLoadedSignature has not run yet |
svValid |
The digest matches and the signature verifies |
svDigestMismatch |
The document bytes changed after signing |
svSignatureInvalid |
The cryptographic signature check failed |
svUnsupportedAlgorithm |
An unknown key, curve or digest algorithm was encountered |
svMalformed |
The CMS structure could not be parsed |
svSourceUnavailable |
No source bytes are available to hash |
svCryptoProviderError |
The native cryptographic provider failed |
svInvalidByteRange |
The /ByteRange entry is malformed, overlapping or out of bounds |
svDigestAlgorithmMismatch |
The CMS digest algorithm identifiers are inconsistent |
svSignaturePolicyMismatch |
The required or pinned signature policy did not match |
Usage notes
svValidmeans the document bytes match what the embedded certificate's key signed; certificate chain and trust validation stay out of scope- The verify methods return this status per signature and batch validation additionally reports an overall status