Skip to content

Commit

Permalink
8.0.16 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed May 31, 2020
1 parent a707d21 commit db2ccf5
Show file tree
Hide file tree
Showing 39 changed files with 4,873 additions and 3,652 deletions.
31 changes: 30 additions & 1 deletion ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,42 @@

ChangeLog for jsrsasign

* Changes from 8.0.15 to next version (2020-Apr-14)
extended Authority/SubjectKeyIdentifier support
* Changes from 8.0.15 to 8.0.16 (2020-Mar-29)
- src/asn1x509.js
- AuthorityKeyIdentifier class
- issuerDN ASN.1 encoding bug fixed
- now keyIdentifier is automatically calculated
by certificate or key
- issuer dn and serial number can be set
by certificate
- SubjectKeyIdentifier class
- now keyIdentifier is automatically calculated
by certificate or key
- X500Name class
- certissuer and certsubject parameter is added
to set value by issuer or subject of certificate.
- GeneralName class
- dn parameter support was updated.
- src/keyutil.js
- getKeyID method added to calcalate a key identifier
for certificate.
- crypto.js
- Util.isKey static method added
- Signature.{sign,verify} method bug fix for ECDSA
- code refactoring
- src/asn1csr.js
- strict mode fix (pull #410)
- src/jws.js
- strict mode fix (pull #347)
- src/jwsjs.js
- readJWSJS fix (pull #373)
- sample_node/asn1extract2
- sample added. more flexible use than asn1extract.
- test/qunit-do-crypto.html
- getRandom test fix
- test/qunit-do-asn1x509-newcrt.html
- test case expected value fix

SHA384/512withECDSA wrong signature fix and add some curves support
* Changes from 8.0.14 to 8.0.15 (2020-Apr-13)
Expand Down
6 changes: 3 additions & 3 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ <h2><a href="symbols/src/asn1x509-1.0.js.html">asn1x509-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>jsrsasign 8.0.14 asn1x509 1.1.7 (2020-Apr-11)</dd>
<dd>jsrsasign 8.0.16 asn1x509 1.1.8 (2020-May-25)</dd>



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


<dt class="heading">Version:</dt>
<dd>1.2.1 (2017-Sep-15)</dd>
<dd>1.2.3 (2020-May-28)</dd>



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


<dt class="heading">Version:</dt>
<dd>jsrsasign 8.0.14 keyutil 1.2.1 (2020-Apr-11)</dd>
<dd>jsrsasign 8.0.16 keyutil 1.2.2 (2020-May-25)</dd>



Expand Down
71 changes: 71 additions & 0 deletions api/symbols/KEYUTIL.html
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,19 @@ <h1 class="classTitle">
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">KEYUTIL.<b><a href="../symbols/KEYUTIL.html#.getKeyID">getKeyID</a></b>(obj)
</div>
<div class="description">get key ID by public key object for subject or authority key identifier
This static method generates a key identifier from a public key
by the method described in
<a href="https://tools.ietf.org/html/rfc5280#section-4.2.1.2"
target="_blank">RFC 5280 4.2.1.2.</div>
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
Expand Down Expand Up @@ -1473,6 +1486,64 @@ <h5>EXAMPLE</h5>



<hr />

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


<span class="light">KEYUTIL.</span><b>getKeyID</b>(obj)

</div>
<div class="description">
get key ID by public key object for subject or authority key identifier
This static method generates a key identifier from a public key
by the method described in
<a href="https://tools.ietf.org/html/rfc5280#section-4.2.1.2"
target="_blank">RFC 5280 4.2.1.2. Subject Key Identifier (1)</a>.


</div>



<pre class="code">pubkeyobj = KEYUTIL.getKey(...);
KEYTUTIL.getKey(pubkeyobj) &rarr; "a612..."</pre>




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

<dt>
<span class="light fixedFont">{Object}</span> <b>obj</b>

</dt>
<dd>RSAKey/KJUR.crypto.ECDSA,DSA public key object or public key PEM string</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>keyutil 1.2.2 jsrsasign 5.0.16</dd>
</dl>
</dl>



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

<dd>hexadecimal string of public key identifier</dd>

</dl>




<hr />

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

0 comments on commit db2ccf5

Please sign in to comment.