JSPM

jsrsasign-oid-psd2

0.9.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q36282F
  • License MIT

jsrsasign add-on for EU PSD2 object identifier definitions

Package Exports

  • jsrsasign-oid-psd2
  • jsrsasign-oid-psd2/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jsrsasign-oid-psd2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

jsrsasign | npm | OIDs | Other AddOn

jsrsasign-oid-psd2

jsrsasign add-on to add object identifier definitions for EU Payment Services Directive (PSD2).

How to use add-on

var jsrsasign = require("jsrsasign");
require("jsrsasign-oid-psd2").addon(jsrsasign);

OID definitions

You can see them in the source code.

Example

var jsrsasign = require("jsrsasign");
require("jsrsasign-oid-psd2").addon(jsrsasign);

...snip...

h = "<<<PSD2 certificate hexadecimal data>>>";
console.log(JSON.stringify(jsrsasign.ASN1HEX.parse(h), null, " "));

You may find PSD2 QC statement:

{"seq": [
  {"oid": "psd2-qcStatement"},
  {"seq": [
    {"seq": [
      {"seq": [
        {"oid": "psd2-role-psp-as"},
        {"utf8str": {"str": "PSP_AS"}}
       ]},
      {"seq": [
        {"oid": "psd2-role-psp-pi"},
        {"utf8str": {"str": "PSP_PI"}}
       ]},
      {"seq": [
        {"oid": "psd2-role-psp-ai"},
        {"utf8str": {"str": "PSP_AI"}}
       ]}
    ]},
    {"utf8str": {"str": "Sample Bank"}},
    {"utf8str": {"str": "BE-XXX"}}
  ]}
]}

Reference

  • ETSI TS 119 495 v1.5.1(2021-04) Electronic Signatures and Infrastructures (ESI); Sector Specific Requirements; Certificate Profiles and TSP Policy Requirements for Open Banking