@qrcommunication/gigapdf-lib — SDK API reference - v0.110.3
    Preparing search index...

    Interface SignatureReport

    The cryptographic verdict for one signature, from GigaPdfDoc.verifySignatures.

    interface SignatureReport {
        fieldName: string;
        byteRangeOk: boolean;
        digestOk: boolean;
        signatureOk: boolean;
        coversWholeDocument: boolean;
        signerCommonName: string | null;
        certCount: number;
        algorithm: string;
    }
    Index

    Properties

    fieldName: string

    The signature field's /T name.

    byteRangeOk: boolean

    The /ByteRange is well-formed and within the file bounds.

    digestOk: boolean

    The CMS messageDigest equals SHA-256 of the covered bytes (integrity).

    signatureOk: boolean

    The SignerInfo signature validates under the signer certificate's key.

    coversWholeDocument: boolean

    The signature covers the whole current file (nothing appended after it).

    signerCommonName: string | null

    The signer certificate's Common Name, or null.

    certCount: number

    Number of certificates embedded in the CMS.

    algorithm: string

    The recognised signature algorithm (RSA+SHA-256) or an unsupported note.