Skip to content

Commit

Permalink
fix mispointing JWK Thumbprint RFC
Browse files Browse the repository at this point in the history
  • Loading branch information
t-yuki committed Aug 4, 2017
1 parent 56c1070 commit 5c8d0bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/symbols/KEYUTIL.html
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ <h1 class="classTitle">
jwkPrv2 = KEYUTIL.getJWKFromKey(kp2.prvKeyObj);
jwkPub2 = KEYUTIL.getJWKFromKey(kp2.pubKeyObj);

// if you need RFC 7636 JWK thumprint as kid do like this:
// if you need RFC 7638 JWK thumprint as kid do like this:
jwkPub2.kid = KJUR.jws.JWS.getJWKthumbprint(jwkPub2);</pre>


Expand Down
2 changes: 1 addition & 1 deletion src/keyutil-1.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -1707,7 +1707,7 @@ KEYUTIL.parseCSRHex = function(csrHex) {
* jwkPrv2 = KEYUTIL.getJWKFromKey(kp2.prvKeyObj);
* jwkPub2 = KEYUTIL.getJWKFromKey(kp2.pubKeyObj);
*
* // if you need RFC 7636 JWK thumprint as kid do like this:
* // if you need RFC 7638 JWK thumprint as kid do like this:
* jwkPub2.kid = KJUR.jws.JWS.getJWKthumbprint(jwkPub2);
*/
KEYUTIL.getJWKFromKey = function(keyObj) {
Expand Down

0 comments on commit 5c8d0bc

Please sign in to comment.