Skip to content

Commit

Permalink
3.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Apr 3, 2015
1 parent 472c56d commit 358a861
Show file tree
Hide file tree
Showing 20 changed files with 1,457 additions and 672 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

ChangeLog for jsjws

* 3.1.0 Release (2015-Apr-03)
- remove alg=none signature validation support.
- jsjws will be merged into jsrsasign near in the future.

* 3.0.2 Release (2013-Sep-24)
- add HS384 support with jsrsasign 4.1.4 or later.
Please use
Expand Down
4 changes: 2 additions & 2 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h1 class="classTitle">File Index</h1>


<div>
<h2><a href="symbols/src/jws-3.0.js.html">jws-3.0.js</a></h2>
<h2><a href="symbols/src/jws-3.1.js.html">jws-3.1.js</a></h2>


<dl>
Expand All @@ -213,7 +213,7 @@ <h2><a href="symbols/src/jws-3.0.js.html">jws-3.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>3.0.0 (2013-Aug-27)</dd>
<dd>3.1.0 (2015-Apr-03)</dd>



Expand Down
2 changes: 1 addition & 1 deletion api/symbols/KJUR.jws.IntDate.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ <h1 class="classTitle">
KJUR.jws.IntDate class


<br /><i>Defined in: </i> <a href="../symbols/src/jws-3.0.js.html">jws-3.0.js</a>.
<br /><i>Defined in: </i> <a href="../symbols/src/jws-3.1.js.html">jws-3.1.js</a>.

</p>

Expand Down
10 changes: 6 additions & 4 deletions api/symbols/KJUR.jws.JWS.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ <h1 class="classTitle">
JSON Web Signature(JWS) class


<br /><i>Defined in: </i> <a href="../symbols/src/jws-3.0.js.html">jws-3.0.js</a>.
<br /><i>Defined in: </i> <a href="../symbols/src/jws-3.1.js.html">jws-3.1.js</a>.

</p>

Expand Down Expand Up @@ -440,7 +440,8 @@ <h1 class="classTitle">
<td class="nameDescription">
<div class="fixedFont">KJUR.jws.JWS.<b><a href="../symbols/KJUR.jws.JWS.html#.verify">verify</a></b>(sJWS, key)
</div>
<div class="description">verify JWS signature by specified key or certificate<br/></div>
<div class="description">verify JWS signature by specified key or certificate<br/>
This method verifies a JSON Web Signature Compact Serialization string by the validation algorithm as described in <a href="http://self-issued.info/docs/draft-jones-json-web-signature-04.html#anchor5">the section 5 of Internet Draft draft-jones-json-web-signature-04.</div>
</td>
</tr>

Expand Down Expand Up @@ -493,7 +494,7 @@ <h1 class="classTitle">

<div class="description">
JSON Web Signature(JWS) class.<br/>
<h4>Supported Algorithms</h4>Here is supported algorithm names for <a href="../symbols/KJUR.jws.JWS.html#.sign">KJUR.jws.JWS.sign</a> and <a href="../symbols/KJUR.jws.JWS.html#.verify">KJUR.jws.JWS.verify</a>methods.<table><tr><th>alg value</th><th>spec requirement</th><th>jsjws support</th></tr><tr><td>HS256</td><td>REQUIRED</td><td>SUPPORTED</td></tr><tr><td>HS384</td><td>OPTIONAL</td><td>-</td></tr><tr><td>HS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>RS256</td><td>RECOMMENDED</td><td>SUPPORTED</td></tr><tr><td>RS384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>RS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>ES256</td><td>RECOMMENDED+</td><td>SUPPORTED</td></tr><tr><td>ES384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>ES512</td><td>OPTIONAL</td><td>-</td></tr><tr><td>PS256</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>PS384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>PS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>none</td><td>REQUIRED</td><td>SUPPORTED</td></tr></table>
<h4>Supported Algorithms</h4>Here is supported algorithm names for <a href="../symbols/KJUR.jws.JWS.html#.sign">KJUR.jws.JWS.sign</a> and <a href="../symbols/KJUR.jws.JWS.html#.verify">KJUR.jws.JWS.verify</a>methods.<table><tr><th>alg value</th><th>spec requirement</th><th>jsjws support</th></tr><tr><td>HS256</td><td>REQUIRED</td><td>SUPPORTED</td></tr><tr><td>HS384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>HS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>RS256</td><td>RECOMMENDED</td><td>SUPPORTED</td></tr><tr><td>RS384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>RS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>ES256</td><td>RECOMMENDED+</td><td>SUPPORTED</td></tr><tr><td>ES384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>ES512</td><td>OPTIONAL</td><td>-</td></tr><tr><td>PS256</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>PS384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>PS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>none</td><td>REQUIRED</td><td>SUPPORTED(generation only)</td></tr></table>NOTE1: HS384 is supported since jsjws 3.0.2 with jsrsasign 4.1.4.<br/>NOTE2: alg=none validation was removed since jsjws 3.1.0.<br/>

</div>

Expand Down Expand Up @@ -1184,7 +1185,7 @@ <h4>Supported Algorithms</h4> Here is supported algorithm names for <a href="../
</div>
<div class="description">
generate JWS signature by specified key<br/>
This method supports following algorithms.<table><tr><th>alg value</th><th>spec requirement</th><th>jsjws support</th></tr><tr><td>HS256</td><td>REQUIRED</td><td>SUPPORTED</td></tr><tr><td>HS384</td><td>OPTIONAL</td><td>-</td></tr><tr><td>HS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>RS256</td><td>RECOMMENDED</td><td>SUPPORTED</td></tr><tr><td>RS384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>RS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>ES256</td><td>RECOMMENDED+</td><td>SUPPORTED</td></tr><tr><td>ES384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>ES512</td><td>OPTIONAL</td><td>-</td></tr><tr><td>PS256</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>PS384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>PS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>none</td><td>REQUIRED</td><td>SUPPORTED</td></tr></table><dl><dt>NOTE1:<dd>salt length of RSAPSS signature is the same as the hash algorithm lengthbecause of <a href="http://www.ietf.org/mail-archive/web/jose/current/msg02901.html">IETF JOSE ML discussion</a>.<dt>NOTE2:<dd>The reason of HS384 unsupport is <a href="https://code.google.com/p/crypto-js/issues/detail?id=84">CryptoJS HmacSHA384 bug</a>.</dl>
This method supports following algorithms.<table><tr><th>alg value</th><th>spec requirement</th><th>jsjws support</th></tr><tr><td>HS256</td><td>REQUIRED</td><td>SUPPORTED</td></tr><tr><td>HS384</td><td>OPTIONAL</td><td>-</td></tr><tr><td>HS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>RS256</td><td>RECOMMENDED</td><td>SUPPORTED</td></tr><tr><td>RS384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>RS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>ES256</td><td>RECOMMENDED+</td><td>SUPPORTED</td></tr><tr><td>ES384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>ES512</td><td>OPTIONAL</td><td>-</td></tr><tr><td>PS256</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>PS384</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>PS512</td><td>OPTIONAL</td><td>SUPPORTED</td></tr><tr><td>none</td><td>REQUIRED</td><td>SUPPORTED(generation only)</td></tr></table><dl><dt>NOTE1:<dd>salt length of RSAPSS signature is the same as the hash algorithm lengthbecause of <a href="http://www.ietf.org/mail-archive/web/jose/current/msg02901.html">IETF JOSE ML discussion</a>.<dt>NOTE2:<dd>The reason of HS384 unsupport is <a href="https://code.google.com/p/crypto-js/issues/detail?id=84">CryptoJS HmacSHA384 bug</a>.<dt>NOTE3:<dd>alg=none validation was removed since jsjws 3.1.0.<br/></dl>


</div>
Expand Down Expand Up @@ -1267,6 +1268,7 @@ <h4>Supported Algorithms</h4> Here is supported algorithm names for <a href="../
</div>
<div class="description">
verify JWS signature by specified key or certificate<br/>
This method verifies a JSON Web Signature Compact Serialization string by the validation algorithm as described in <a href="http://self-issued.info/docs/draft-jones-json-web-signature-04.html#anchor5">the section 5 of Internet Draft draft-jones-json-web-signature-04.</a><br/>NOTE: alg=none validation was removed since jsjws 3.1.0.<br/>


</div>
Expand Down
Loading

0 comments on commit 358a861

Please sign in to comment.