Pular para o conteúdo principal

ICPBravoAccess Replacement

You can replace the ICPBravoAccess library with the Web PKI plugin easily, without changing your existing JavaScript code. Just follow these steps:

  1. Remove the <script> tag that imports the discontinued icpBravoAccessExt library from your HTML:
{/* Remove the icpbravo.access.ext.js include */}
<script type="text/javascript" src="icpbravo.access.ext.js"></script>
  1. Add the following at the end of the <head> tag of your HTML:
<html>
<head>
...

{/* Add the following lines */}
<script src="https://cdn.lacunasoftware.com/libs/web-pki/lacuna-web-pki-2.19.0.min.js"></script>
<script src="https://cdn.lacunasoftware.com/libs/pibask/lacuna-pibask-1.0.1.js"></script>
<script>
window.lacunaWebPkiLicense = '>>> Insert your Web PKI binary license here <<<';
</script>
</head>
...
note

Licensing

To use Web PKI in a production environment, you must include the license through the window.lacunaWebPkiLicense parameter above. If you don't have a license yet, request one by email at suporte@lacunasoftware.com, stating the hostnames or URLs on which the plugin will run.

That's it: Web PKI should now fully replace ICPBravoAccess, adding support for other browsers and systems such as Mac OS X, Linux, Android and iOS.

See also​

View as Markdown