jwk-to-pem
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "jwk-to-pem", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Convert a JSON Web Key to a PEM", | ||
@@ -5,0 +5,0 @@ "main": "src/jwk-to-pem.js", |
@@ -6,2 +6,8 @@ 'use strict'; | ||
/** | ||
* | ||
* @param {{kty:'EC', crv:string, d:string, x?:string, y?:string} | {kty:'EC', crv:string, x:string, y:string} | {kty:'RSA', e:string, n:string, d?:string, p?:string, q?:string, dp?:string, dq?:string, qi?:string}} jwk | ||
* @param {{private:boolean}=} opts | ||
* @returns {string} | ||
*/ | ||
function jwkToBuffer(jwk, opts) { | ||
@@ -8,0 +14,0 @@ if ('object' !== typeof jwk || null === jwk) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22629
297