Nutrient Web SDK
    Preparing search index...

    Interface StandaloneSigningServiceDataStandalone

    Standalone only

    Contains information needed for signing with Nutrient backend in standalone mode. Supports the following backends:

    • Document Engine (requires Document Engine >= 1.6.0)
    • DWS

    The document loaded in your instance will not be transferred over the network, instead document hash and signature properties will be prepared locally and passed to the backend to perform the signing via certificate, finally digital signature is embedded into the document locally.

    Uses JSON Web Token (JWT) to authorize with the NutrientViewer backend. See Document Engine's API Reference for more details about the JWT authorization.

    Signing document in Web standalone via NutrientViewer backend

    instance.signDocument(null, {
    jwt: "<auth_token>"
    })
    .then(function () {
    console.log("The document has been signed!");
    });

    Document Engine 1.6.0

    interface StandaloneSigningServiceData {
        jwt: string;
        serverUrl?: string;
        signingToken?: string;
    }
    Index

    Properties

    jwt: string

    Authentication token needed to authenticate the signing request with the backend.

    serverUrl?: string

    Base server URL to use as the signing backend.

    The <server_url>/api/sign_hash is used as the signing endpoint and <server_url>/api/get_certificates is used to retrieve the certificates.

    signingToken?: string

    Optional signing token to be passed by the backend to the signing service. Valid only when signing via Document Engine.