Source Code
Dependencies
The GCL is distributed through a Distribution Service. In order to use the Distribution Service, a valid api-key is needed. The JavaScript library is open source and distributed through:
Github repository
NPM package
Github Repository
T1C-Demo web application (TBD)
NPM Package
Bower can be used to add the T1C-JS package to your web application project:
$ npm install trust1connectorDistribution Service API
JVM
Important to know that Trust1Connector does NOT have any dependencies on Java Virtual Machine.
Build T1C-JS from source
Webpack is need to build the Javascript library
$ npm install --global webpackTypings must be installed for typing generation
$ npm i -g typingsFor jQuery we need to install from dt source
$ typings install dt~jquery --global --saveDebug:
$ typings install debug --saveUse npm install to download the necessary dependencies
$ npm installUse gulp test to run the test suite of the project
$ npm run testTo build the Javascript library:
$ npm run buildCertificate functionality
The certificate parsing happens with PKI.js already but if you want more certificate functionality we recommend you use:
Asn1js http://asn1js.org/
PKI.js https://pkijs.org/
Last updated