2.16.3 • Published 5 months ago
web-pki v2.16.3
web-pki
The Lacuna Web PKI component enables web applications to interact with digital certificates through javascript.
The main features are:
- Displaying available certificates (either software- or hardware-based)
- Obtaining public properties of certificates (name, email address, etc.)
- Reading a certificate's binary encoding
- Signing data (or a pre-computed digest) with a certificate
The Web PKI component's main goal is to perform the client-side processing necessary for operations with digital certificates.
Installation
Using npm:
$ npm install web-pki --save
Usage Examples
ES6 (examples in TypeScript)
- if you want to import only the main class from web-pki
import LacunaWebPKI from 'web-pki';
//...
public pki = new LacunaWebPKI(/* license */);
public installationState: LacunaWebPKI.InstallationStates; //you are able to use enums within LacunaWebPKI
//...
- if you also want to import any other names
import LacunaWebPKI, { CertificateModel } from 'web-pki';
//...
public pki = new LacunaWebPKI(/* license */);
public certificateList: CertificateModel[];
//...
- if you want to import everything from web-pki
import LacunaWebPKI, * as Lacuna from 'web-pki';
//...
public pki = new LacunaWebPKI(/* license */);
public certificateList: Lacuna.CertificateModel[];
public myTrustArbitrators: Lacuna.TrustArbitrator[];
//...
CommonJS (example in JavaScript)
//...
var LacunaWebPKI = require('web-pki').default;
var pki = new LacunaWebPKI(/* license */);
//...
For more information, access Web PKI docs.
2.16.3
5 months ago
2.16.1
1 year ago
2.16.2
1 year ago
2.16.0
1 year ago
2.17.0-alpha.1
1 year ago
2.15.2
2 years ago
2.15.0
2 years ago
2.15.1
2 years ago
2.14.8
3 years ago
2.14.6
3 years ago
2.14.4
4 years ago
2.14.3
4 years ago
2.14.3-alpha.1
4 years ago
2.14.2
4 years ago
2.14.1
4 years ago
2.14.1-beta.0
5 years ago
2.14.0
5 years ago
2.13.1
5 years ago
2.13.0
5 years ago
2.12.1
5 years ago
2.12.0
5 years ago
2.11.0
6 years ago
2.8.0
6 years ago