Skip to content

Commit

Permalink
5.0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Nov 11, 2015
1 parent 517cd5a commit 7844c0e
Show file tree
Hide file tree
Showing 102 changed files with 12,585 additions and 193 deletions.
10 changes: 10 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@

ChangeLog for jsrsasign

* Changes between 5.0.1 to 5.0.2 (2015-Nov-11)
- jws 3.3.1 to 3.3.2
- RFC 7638 getJWKthumbprint method added
- base64x 1.1.5 to 1.1.6
- function intarystrtohex added
- nodeutil 1.0.0 newly added
- utils for file I/O in Node.js
- npm
- add reference to intarystrtohex and CryptoJS

* Changes between 5.0.0 to 5.0.1 (2015-Oct-17)
- keyutil 1.0.10 to 1.0.11
- add support for bare RSA NED hexadecimal key in KEYUTIL.getKey
Expand Down
23 changes: 21 additions & 2 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ <h2><a href="symbols/src/base64x-1.1.js.html">base64x-1.1.js</a></h2>


<dt class="heading">Version:</dt>
<dd>asn1 1.1.5 (2015-Sep-13)</dd>
<dd>asn1 1.1.6 (2015-Nov-11)</dd>



Expand Down Expand Up @@ -649,7 +649,7 @@ <h2><a href="symbols/src/jws-3.3.js.html">jws-3.3.js</a></h2>


<dt class="heading">Version:</dt>
<dd>3.3.1 (2015-Oct-14)</dd>
<dd>3.3.2 (2015-Nov-11)</dd>



Expand Down Expand Up @@ -691,6 +691,25 @@ <h2><a href="symbols/src/keyutil-1.0.js.html">keyutil-1.0.js</a></h2>



</dl>
</div>
<hr />

<div>
<h2><a href="symbols/src/nodeutil-1.0.js.html">nodeutil-1.0.js</a></h2>


<dl>

<dt class="heading">Author:</dt>
<dd>Kenji Urushima [email protected]</dd>


<dt class="heading">Version:</dt>
<dd>1.0.0 (2015-Nov-11)</dd>



</dl>
</div>
<hr />
Expand Down
73 changes: 73 additions & 0 deletions api/symbols/KJUR.jws.JWS.html
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,18 @@ <h1 class="classTitle">
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">KJUR.jws.JWS.<b><a href="../symbols/KJUR.jws.JWS.html#.getJWKthumbprint">getJWKthumbprint</a></b>(o)
</div>
<div class="description">get RFC 7638 JWK thumbprint from JWK object
This method calculates JWK thmubprint for specified JWK object
as described in
<a href="https://tools.ietf.org/html/rfc7638">RFC 7638</a>.</div>
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
Expand Down Expand Up @@ -783,6 +795,67 @@ <h4>Supported Algorithms</h4>



<hr />

<a name=".getJWKthumbprint"> </a>
<div class="fixedFont">&lt;static&gt;

<span class="light">{String}</span>
<span class="light">KJUR.jws.JWS.</span><b>getJWKthumbprint</b>(o)

</div>
<div class="description">
get RFC 7638 JWK thumbprint from JWK object
This method calculates JWK thmubprint for specified JWK object
as described in
<a href="https://tools.ietf.org/html/rfc7638">RFC 7638</a>.
It supports all type of "kty". (i.e. "RSA", "EC" and "oct"
(for symmetric key))
Working sample is
<a href="https://kjur.github.io/jsrsasign/sample/tool_jwktp.html">here</a>.


</div>



<pre class="code">jwk = {"kty":"RSA", "n":"0vx...", "e":"AQAB", ...};
thumbprint = KJUR.jws.JWS.getJWKthumbprint(jwk);</pre>




<dl class="detailList">
<dt class="heading">Parameters:</dt>

<dt>
<span class="light fixedFont">{String}</span> <b>o</b>

</dt>
<dd>JWK object to be calculated thumbprint</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>jsrsasign 5.0.2 jws 3.3.2</dd>
</dl>
</dl>



<dl class="detailList">
<dt class="heading">Returns:</dt>

<dd><span class="light fixedFont">{String}</span> Base64 URL encoded JWK thumbprint value</dd>

</dl>




<hr />

<a name=".inArray"> </a>
Expand Down
Loading

0 comments on commit 7844c0e

Please sign in to comment.