Type THPDFSignatureVerifyStatus
Rapporte le résultat de la vérification d'une signature CMS chargée
Déclaration
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
Valeurs
| Valeur | Signification |
|---|---|
svNotVerified |
La signature a seulement été analysée ; VerifyLoadedSignature n'a pas encore tourné |
svValid |
Le digest correspond et la signature se vérifie |
svDigestMismatch |
Les octets du document ont changé après la signature |
svSignatureInvalid |
Le contrôle cryptographique de la signature a échoué |
svUnsupportedAlgorithm |
Un algorithme de clé, de courbe ou de digest inconnu a été rencontré |
svMalformed |
La structure CMS n'a pas pu s'analyser |
svSourceUnavailable |
Aucun octet source n'est disponible à hacher |
svCryptoProviderError |
Le fournisseur cryptographique natif a échoué |
svInvalidByteRange |
L'entrée /ByteRange est malformée, chevauchante ou hors bornes |
svDigestAlgorithmMismatch |
Les identifiants d'algorithme de digest CMS sont incohérents |
svSignaturePolicyMismatch |
La politique de signature exigée ou épinglée n'a pas correspondu |
Notes d'utilisation
svValidsignifie que les octets du document correspondent à ce que la clé du certificat embarqué a signés ; la validation de chaîne et de confiance du certificat reste hors périmètre- Les méthodes de vérification renvoient ce statut par signature et la validation par lots rapporte en plus un statut global