Skip to content

Commit

Permalink
5.0.11 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed May 10, 2016
1 parent 65d4c8b commit d1851a7
Show file tree
Hide file tree
Showing 18 changed files with 1,927 additions and 2,168 deletions.
10 changes: 7 additions & 3 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@

ChangeLog for jsrsasign

* Changes between 5.0.10 to next version
* Changes between 5.0.10 to 5.0.11
- X509v1 certificate support in KEYUTIL.getKey and
X509.getPublicKeyInfoPropOfCertPEM
- sample_node/showcert added
- x509.js 1.1.8 to next version
- x509.js 1.1.8 to 1.1.9
- X509.DN_ATTRHEX added to show EV cert DN
- X509v1 certificate support in X509.getPublicKeyInfoPropOfCertPEM.
This makes KEYUTIL.getKey support X509v1 certificate.
- test/qunit-do-x509-getinfo.html
- test case added for EV cert DN
- tool_{jwt,jwtveri}.html
- fix typo. Thanks @ParkinT.
- ext/{rsa,rsa2}.js
- allow hash func to be passed to OAEP. Thanks @davedoesdev.
- asn1x509.js 1.0.13 to next version
- asn1x509.js 1.0.13 to 1.0.14
- add 'SN' (i.e. SurName) support in distinguished name.
Thanks @kurtsson.

Expand Down
4 changes: 2 additions & 2 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ <h2><a href="symbols/src/asn1x509-1.0.js.html">asn1x509-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>1.0.13 (2015-Oct-01)</dd>
<dd>1.0.14 (2016-May-10)</dd>



Expand Down Expand Up @@ -782,7 +782,7 @@ <h2><a href="symbols/src/x509-1.1.js.html">x509-1.1.js</a></h2>


<dt class="heading">Version:</dt>
<dd>x509 1.1.8 (2016-Apr-24)</dd>
<dd>x509 1.1.9 (2016-May-10)</dd>



Expand Down
5 changes: 3 additions & 2 deletions api/symbols/KEYUTIL.html
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ <h1 class="classTitle">
<li>DSA public key parameters: param={p: p, q: q, g: g, y: y}<br/>
NOTE: Each value shall be hexadecimal string of key spec.</li>
<li>RSA public key parameters: param={n: n, e: e} </li>
<li>X.509 PEM certificate (RSA/DSA/ECC): param=pemString</li>
<li>X.509v1/v3 PEM certificate (RSA/DSA/ECC): param=pemString</li>
<li>PKCS#8 hexadecimal RSA/ECC public key: param=pemString, null, "pkcs8pub"</li>
<li>PKCS#8 PEM RSA/DSA/ECC public key: param=pemString</li>
<li>PKCS#5 plain hexadecimal RSA private key: param=hexString, null, "pkcs5prv"</li>
Expand All @@ -1352,7 +1352,8 @@ <h1 class="classTitle">
<li>JWT plain RSA private key with P/Q/DP/DQ/COEFF</li>
<li>JWT plain RSA private key without P/Q/DP/DQ/COEFF (since jsrsasign 5.0.0)</li>
</ul>
NOTE: <a href="https://tools.ietf.org/html/rfc7517">RFC 7517 JSON Web Key(JWK)</a> support for RSA/ECC private/public key from jsrsasign 4.8.1.
NOTE1: <a href="https://tools.ietf.org/html/rfc7517">RFC 7517 JSON Web Key(JWK)</a> support for RSA/ECC private/public key from jsrsasign 4.8.1.<br/>
NOTE2: X509v1 support is added since jsrsasign 5.0.11.

<h5>EXAMPLE</h5>

Expand Down
10 changes: 6 additions & 4 deletions api/symbols/X509.html
Original file line number Diff line number Diff line change
Expand Up @@ -738,12 +738,13 @@ <h1 class="classTitle">
<div class="fixedFont">X509.<b><a href="../symbols/X509.html#.getPublicKeyInfoPropOfCertPEM">getPublicKeyInfoPropOfCertPEM</a></b>(sCertPEM)
</div>
<div class="description">get public key information from PEM certificate
Resulted associative array has following properties:
Resulted associative array has following properties:<br/>
<ul>
<li>algoid - hexadecimal string of OID of asymmetric key algorithm</li>
<li>algparam - hexadecimal string of OID of ECC curve name or null</li>
<li>keyhex - hexadecimal string of key in the certificate</li>
</ul></div>
</ul>
NOTE: X509v1 certificate is also supported since x509.js 1.1.9.</div>
</td>
</tr>

Expand Down Expand Up @@ -2125,12 +2126,13 @@ <h1 class="classTitle">
</div>
<div class="description">
get public key information from PEM certificate
Resulted associative array has following properties:
Resulted associative array has following properties:<br/>
<ul>
<li>algoid - hexadecimal string of OID of asymmetric key algorithm</li>
<li>algparam - hexadecimal string of OID of ECC curve name or null</li>
<li>keyhex - hexadecimal string of key in the certificate</li>
</ul>
NOTE: X509v1 certificate is also supported since x509.js 1.1.9.


</div>
Expand All @@ -2153,7 +2155,7 @@ <h1 class="classTitle">

<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>x509 1.1.1, x509 1.1.1</dd>
<dd>x509 1.1.1</dd>
</dl>
</dl>

Expand Down
685 changes: 343 additions & 342 deletions api/symbols/src/asn1x509-1.0.js.html

Large diffs are not rendered by default.

1,543 changes: 772 additions & 771 deletions api/symbols/src/keyutil-1.0.js.html

Large diffs are not rendered by default.

1,466 changes: 737 additions & 729 deletions api/symbols/src/x509-1.1.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions asn1x509-1.0.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! asn1x509-1.0.13.js (c) 2013-2015 Kenji Urushima | kjur.github.com/jsrsasign/license
/*! asn1x509-1.0.14.js (c) 2013-2015 Kenji Urushima | kjur.github.com/jsrsasign/license
*/
/*
* asn1x509.js - ASN.1 DER encoder classes for X.509 certificate
Expand All @@ -16,7 +16,7 @@
* @fileOverview
* @name asn1x509-1.0.js
* @author Kenji Urushima [email protected]
* @version 1.0.13 (2015-Oct-01)
* @version 1.0.14 (2016-May-10)
* @since jsrsasign 2.1
* @license <a href="http://kjur.github.io/jsrsasign/license/">MIT License</a>
*/
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kjur-jsrsasign",
"version": "5.0.10",
"version": "5.0.11",
"main": "jsrsasign-latest-all-min.js",
"description": "The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL CMS SignedData, TimeStamp, CAdES, JWS and JWT in pure JavaScript.",
"license": "MIT",
Expand Down
10 changes: 5 additions & 5 deletions jsrsasign-latest-all-min.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions keyutil-1.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ var KEYUTIL = function() {
* <li>DSA public key parameters: param={p: p, q: q, g: g, y: y}<br/>
* NOTE: Each value shall be hexadecimal string of key spec.</li>
* <li>RSA public key parameters: param={n: n, e: e} </li>
* <li>X.509 PEM certificate (RSA/DSA/ECC): param=pemString</li>
* <li>X.509v1/v3 PEM certificate (RSA/DSA/ECC): param=pemString</li>
* <li>PKCS#8 hexadecimal RSA/ECC public key: param=pemString, null, "pkcs8pub"</li>
* <li>PKCS#8 PEM RSA/DSA/ECC public key: param=pemString</li>
* <li>PKCS#5 plain hexadecimal RSA private key: param=hexString, null, "pkcs5prv"</li>
Expand All @@ -1248,7 +1248,8 @@ var KEYUTIL = function() {
* <li>JWT plain RSA private key with P/Q/DP/DQ/COEFF</li>
* <li>JWT plain RSA private key without P/Q/DP/DQ/COEFF (since jsrsasign 5.0.0)</li>
* </ul>
* NOTE: <a href="https://tools.ietf.org/html/rfc7517">RFC 7517 JSON Web Key(JWK)</a> support for RSA/ECC private/public key from jsrsasign 4.8.1.
* NOTE1: <a href="https://tools.ietf.org/html/rfc7517">RFC 7517 JSON Web Key(JWK)</a> support for RSA/ECC private/public key from jsrsasign 4.8.1.<br/>
* NOTE2: X509v1 support is added since jsrsasign 5.0.11.
*
* <h5>EXAMPLE</h5>
* @example
Expand Down
Loading

0 comments on commit d1851a7

Please sign in to comment.