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 PSPDFKit backend. See Document Engine's API Reference for more details about the JWT authorization.
Properties:
Name | Type | Description |
---|---|---|
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 |
signingToken |
string | Optional signing token to be passed by the backend to the signing service. Valid only when signing via Document Engine. |
- Since:
- Document Engine 1.6.0
Example
Signing document in Web standalone via PSPDFKit backend
instance.signDocument(null, {
jwt: "<auth_token>"
})
.then(function () {
console.log("The document has been signed!");
});