UNPKG

jwk-to-pem

Version:
11 lines (8 loc) 270 B
'use strict'; var AlgorithmIdentifier = require('./algorithm-identifier'); module.exports = require('asn1.js').define('PublicKeyInfo', /* @this */ function() { this.seq().obj( this.key('algorithm').use(AlgorithmIdentifier), this.key('PublicKey').bitstr() ); });