ComPDFKit Web SDK
    Preparing search index...

    Interface ExternalSignOptions

    Options of prepareExternalSign: signing certificate and certificate chain (DER); appearance as in sign.

    interface ExternalSignOptions {
        appearance?:
            | ArrayBuffer
            | Document
            | Uint8Array<ArrayBufferLike>
            | DigitalSignatureTextAppearance;
        appearancePageNumber?: number;
        certificate: ArrayBuffer | Uint8Array<ArrayBufferLike>;
        certificateChain?: (ArrayBuffer | Uint8Array<ArrayBufferLike>)[];
        estimatedContentsSize?: number;
        location?: string;
        reason?: string;
    }
    Index
    appearance?:
        | ArrayBuffer
        | Document
        | Uint8Array<ArrayBufferLike>
        | DigitalSignatureTextAppearance

    Appearance of the signature field: PNG / JPEG bytes, a document (the page appearancePageNumber), or a text appearance.

    appearancePageNumber?: number

    Page of the appearance document to use when appearance is a document (1-based).

    certificate: ArrayBuffer | Uint8Array<ArrayBufferLike>

    The signing certificate (DER bytes, public part only).

    certificateChain?: (ArrayBuffer | Uint8Array<ArrayBufferLike>)[]

    Intermediate certificates of the chain (DER bytes), embedded in the signature.

    estimatedContentsSize?: number

    Bytes reserved for /Contents (16384 by default); increase for large signature containers (with timestamps, revocation info).

    location?: string

    Location of signing, written to the signature.

    reason?: string

    Reason for signing, written to the signature.