ComPDFKit Web SDK
    Preparing search index...

    Interface SignOptions

    Options of AnnotationManager.sign (appearance may also be a text appearance).

    interface SignOptions {
        appearance?:
            | ArrayBuffer
            | Document
            | Uint8Array<ArrayBufferLike>
            | DigitalSignatureTextAppearance;
        appearancePageNumber?: number;
        certificate: ArrayBuffer | Uint8Array<ArrayBufferLike>;
        contactInfo?: string;
        location?: string;
        password?: 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 (DigitalSignatureTextAppearance).

    appearancePageNumber?: number

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

    certificate: ArrayBuffer | Uint8Array<ArrayBufferLike>

    The signing certificate as PKCS#12 (.p12 / .pfx) bytes, including the private key.

    contactInfo?: string

    Note: the engine cannot write it.

    location?: string

    Location of signing, written to the signature.

    password?: string

    Password of the certificate file.

    reason?: string

    Reason for signing, written to the signature.