Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsrsasign-oid-misc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsrsasign-oid-misc

jsrsasign add-on for miscellaneous OID definitions

  • 0.9.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 14 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc