ComPDFKit Web SDK
    Preparing search index...

    Interface ExternalSignSession

    External signing session: hashToSign goes to the signing service (HSM, cloud signing, smart card); documentDigest is the digest of the file content (the two ByteRange parts), used as messageDigest when building the CMS container yourself; state is the session state text (can be stored).

    interface ExternalSignSession {
        digestAlgorithm: "SHA-256";
        documentDigest: Uint8Array;
        fieldName: string;
        hashToSign: Uint8Array;
        id: string;
        state: string;
    }
    Index
    digestAlgorithm: "SHA-256"

    Digest algorithm of hashToSign and documentDigest.

    documentDigest: Uint8Array

    Digest of the signed byte ranges of the file; use it as messageDigest when building the CMS container yourself.

    fieldName: string

    Name of the signature field being signed.

    hashToSign: Uint8Array

    The hash to be signed by the signing service.

    id: string

    Session id.

    state: string

    Serialized session state; can be stored and passed to completeExternalSign instead of the session object.