T1C-JS-Belfius Guide
v2.2.11
v2.2.11
  • Introduction
  • Core
    • Introduction
    • Concepts
    • Installation
    • Source Code
    • Backwards compatibilty
    • Overview Client API
    • Client Configuration
    • GCL Configuration
    • Core Services
    • Citrix
    • Consent
    • Generic Interface
    • Status codes
  • Support
    • Operations Technical Checklist Shared Environments
    • Technical Support Steps
    • Business Support Steps
    • Windows 10 updates (Issue)
    • Q&A
  • Containers
    • Remote Loading
    • Belfius Reader
    • Belgian eID
    • EMV
    • File Exchange
Powered by GitBook
On this page
  • Dependencies
  • Github Repository
  • NPM Package
  • Distribution Service API
  • JVM
  • Build T1C-JS from source
  • Certificate functionality
  1. Core

Source Code

PreviousInstallationNextBackwards compatibilty

Last updated 6 years ago

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

  • (TBD)

NPM Package

Bower can be used to add the T1C-JS package to your web application project:

$ npm install trust1connector

Distribution Service API

OpenAPI

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 webpack

Typings must be installed for typing generation

$ npm i -g typings

For jQuery we need to install from dt source

$ typings install dt~jquery --global --save

Debug:

$ typings install debug --save

Use npm install to download the necessary dependencies

$ npm install

Use gulp test to run the test suite of the project

$ npm run test

To build the Javascript library:

$ npm run build

Certificate functionality

The certificate parsing happens with PKI.js already but if you want more certificate functionality we recommend you use:

Asn1js ​

PKI.js ​

T1C-JS client library
T1C-JS simple HTML page using jQuery
T1C-Demo web application
(JSON)
(YAML)
http://asn1js.org/
https://pkijs.org/