Tipo THPDFSignatureVerifyStatus

Informa del resultado de verificar una firma CMS cargada

Declaración

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
    );

Unidad

HPDFSignVerify

Valores

Valor Significado
svNotVerified La firma solo se analizó; VerifyLoadedSignature aún no se ha ejecutado
svValid El digest coincide y la firma verifica
svDigestMismatch Los bytes del documento cambiaron después de firmar
svSignatureInvalid La comprobación criptográfica de la firma falló
svUnsupportedAlgorithm Se encontró una clave, curva o algoritmo de digest desconocido
svMalformed La estructura CMS no pudo analizarse
svSourceUnavailable No hay bytes fuente disponibles para hashear
svCryptoProviderError El proveedor criptográfico nativo falló
svInvalidByteRange La entrada /ByteRange está malformada, se solapa o está fuera de rango
svDigestAlgorithmMismatch Los identificadores de algoritmo de digest del CMS son inconsistentes
svSignaturePolicyMismatch La política de firma exigida o fijada no coincidió

Notas de uso

APIs relacionadas