Show / Hide Table of Contents
Edit on GitHub

Node.js SPA samples project

The Node.js SPA samples project shows how to use Rest PKI together with Web PKI on a Node.js project following the Single Page Application pattern with AngularJS on the frontend. It is hosted on GitHub at:

https://github.com/LacunaSoftware/RestPkiSamples/tree/master/NodeJS/angular-spa

Running the project

  1. Download the project or clone the repository
  2. Generate an API access token on the REST PKI website
  3. Paste your access token on the file restpki-client.js
  4. Install dependencies: npm install
  5. Run application: npm start
  6. Access the URL http://localhost:3000

Project map

This section lists where to find the relevant parts in each feature sample on this project.

Authentication with digital certificate

  • API: app.js
  • SPA Controller: authentication.js
  • SPA Template: authentication.html

PAdES signature with file already on server

  • API: app.js
  • SPA Controller: pades-signature.js
  • SPA Template: pades-signature.html

PAdES signature with file uploaded by user

Not yet available on this project.

PAdES co-signature

Not yet available on this project.

PAdES marks

Not yet available on this project.

PAdES signature using server key

Not yet available on this project.

PAdES signature without client communication

Not yet available on this project.

Open/validate an existing PAdES signature

Not yet available on this project.

Printer-friendly version

Not yet available on this project.

CAdES signature with file already on server

Not yet available on this project.

CAdES signature with file uploaded by user

Not yet available on this project.

CAdES co-signature

Not yet available on this project.

CAdES signature using server key

Not yet available on this project.

Open/validate an existing CAdES signature

Not yet available on this project.

XML signature of the entire document

Not yet available on this project.

XML signature of an element

Not yet available on this project.

XAdES signature of an element

Not yet available on this project.

Open/validate signatures on an existing XML file

Not yet available on this project.

Batch of PAdES signatures

Not yet available on this project.

Optimized batch of PAdES signatures

Not yet available on this project.

Batch of CAdES signatures

Not yet available on this project.

Batch of XML signatures of elements on the same document

Not yet available on this project.

Back to top Copyright © 2015-2020 Lacuna Software