Pular para o conteúdo principal

API Versions

The Web PKI provides an API version requirement parameter, in case the developer intends to use a specific feature set and avoid any unecessary update on the user Web PKI components. In order to do so, use the requiredApiVersion parameter on init() method, e.g.:

pki.init({
ready: onWebPkiReady,
requiredApiVersion: pki.apiVersions.v1_2
});

In the example above, we defined that we are going to use the feature set of API 1.2 (and lower), thus any Web PKI component update will only the be required for users with lower versions than the ones defined by API 1.2. No unecessary update will be required for users with satisfying versions, even though it is not the latest one.

If the parameter is not set, the dafault requested version is API 1.3.

API changelog

1.8.2 (2023-11-23)

Since lib 2.16.3

1.8.1 (2022-12-17)

1.7.2 (2022-07-03)

1.6.1 (2020-05-23)

1.6 (2019-10-13)

1.5.2 (2019-07-19)

1.5 (2018-11-27)

  • Add more efficient batch signature command: signHashBatch
  • Add license v3
  • Add mobile integration

1.4.1 (2018-06-15)

1.4 (2018-02-23)

1.3 (2017-11-10)

  • Add improved error handler with exception model

1.2 (2017-06-19)

1.1 (2016-08-19)

1.0 (2015-04-28)

* Methods supported only on Windows. For more informations see Web signatures article.