Skip to content

Commit

Permalink
7.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Jan 22, 2017
1 parent 51cb723 commit 77a87f5
Show file tree
Hide file tree
Showing 65 changed files with 7,230 additions and 4,411 deletions.
39 changes: 39 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,45 @@

ChangeLog for jsrsasign

* Changes from 7.0.0 to 7.1.0 (2017-Jan-21)
- minor update for loading private/public key
- support added: PKCS#5 DSA/ECC hexacedimal string of private key
- keyutil 1.0.14 to 1.1.0
- BUGFIX: KEYUTIL.getKey for PKCS#5 PEM ECC private key
was not set curve name properly and now it's fixed.
(issue #227).
- make KEYUTIL.getHexFromPEM deprecated
- move from KEYUTIL.getHexFromPEM to ASN1HEX.pemToHex
- pkcs5pkey 1.0.7 to 1.1.0
- make PKCS5PKEY.getHexFromPEM deprecated
- move from getHexFromPEM to ASN1HEX.pemToHex
- rsapem 1.1.1 to 1.1.2
- refactoring codes
- readPKCS5PubKeyHex added
- readPKCS8PubKeyHex added
- readCertPubKeyHex added
- ecdsa-modified 1.0.5 to 1.1.0
- readCertPubKeyHex added
- dsa 2.0.1 to 2.1.0
- setPrivateHex, setPublicHex added
- readPKCS5PrvKeyHex added
- readPKCS8PrvKeyHex added
- readPKCS8PubKeyHex added
- readCertPubKeyHex added
- asn1hex 1.1.8 to 1.1.9
- ASN1HEX.pemToHex added
- move from {KEYUTIL,PKCS5PRV}.getHexFromPEM,
X509.pemToHex to ASN1HEX.pemToHex
- x509 1.1.10 to 1.1.11
- now X509.pemToHex deprecated and is planed to
remove in jsrsasign 8.0.0.
- asn1cades 1.0.0 to 1.0.1
- move to ASN1HEX.pemToHex
- asn1cms 1.0.2 to 1.0.3
- move from KEYUTIL.getHexFromPEM to ASN1HEX.pemToHex
- asn1csr 1.0.2 to 1.0.3
- move from KEYUTIL.getHexFromPEM to ASN1HEX.pemToHex

* Changes from 6.2.3 to 7.0.0 (2016-Dec-26)
- LGPL license for openpgpjs was removed.
- asn1hex 1.1.7 to 1.1.8
Expand Down
20 changes: 10 additions & 10 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ <h2><a href="symbols/src/asn1cades-1.0.js.html">asn1cades-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>1.0.0 (2014-May-28)</dd>
<dd>1.0.1 (2017-Jan-14)</dd>



Expand All @@ -481,7 +481,7 @@ <h2><a href="symbols/src/asn1cms-1.0.js.html">asn1cms-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>1.0.2 (2014-Jun-07)</dd>
<dd>1.0.3 (2017-Jan-14)</dd>



Expand All @@ -500,7 +500,7 @@ <h2><a href="symbols/src/asn1csr-1.0.js.html">asn1csr-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>1.0.2 (2016-Nov-26)</dd>
<dd>1.0.3 (2017-Jan-14)</dd>



Expand All @@ -519,7 +519,7 @@ <h2><a href="symbols/src/asn1hex-1.1.js.html">asn1hex-1.1.js</a></h2>


<dt class="heading">Version:</dt>
<dd>asn1hex 1.1.8 (2016-Dec-03)</dd>
<dd>asn1hex 1.1.9 (2017-Jan-14)</dd>



Expand Down 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>1.0.19 (2016-Nov-26)</dd>
<dd>1.0.20 (2017-Jan-14)</dd>



Expand Down Expand Up @@ -633,7 +633,7 @@ <h2><a href="symbols/src/dsa-2.0.js.html">dsa-2.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>dsa 2.0.0 (2016-Dec-24)</dd>
<dd>dsa 2.1.0 (2017-Jan-21)</dd>



Expand All @@ -652,7 +652,7 @@ <h2><a href="symbols/src/ecdsa-modified-1.0.js.html">ecdsa-modified-1.0.js</a></


<dt class="heading">Version:</dt>
<dd>1.0.5 (2016-Aug-11)</dd>
<dd>1.1.0 (2017-Jan-21)</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>keyutil 1.0.14 (2016-Oct-08)</dd>
<dd>keyutil 1.1.0 (2017-Jan-14)</dd>



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


<dt class="heading">Version:</dt>
<dd>1.1</dd>
<dd>1.2.0 (2017-Jan-21)</dd>



Expand Down Expand Up @@ -823,7 +823,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.10 (2016-Nov-19)</dd>
<dd>x509 1.1.11 (2017-Jan-21)</dd>



Expand Down
82 changes: 81 additions & 1 deletion api/symbols/ASN1HEX.html
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,17 @@ <h1 class="classTitle">
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">ASN1HEX.<b><a href="../symbols/ASN1HEX.html#.pemToHex">pemToHex</a></b>(s, sHead)
</div>
<div class="description">get hexacedimal string from PEM format data<br/>
This static method gets a hexacedimal string of contents
from PEM format data.</div>
</td>
</tr>

</tbody>
</table>

Expand Down Expand Up @@ -796,7 +807,7 @@ <h1 class="classTitle">
INTEGER 01
INTEGER 02
// 5) ASN.1 DUMP FOR X.509 CERTIFICATE
ASN1HEX.dump(X509.pemToHex(certPEM))
ASN1HEX.dump(ASN1HEX.pemToHex(certPEM))
&darr;
SEQUENCE
SEQUENCE
Expand Down Expand Up @@ -1695,6 +1706,75 @@ <h1 class="classTitle">



<hr />

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

<span class="light">{String}</span>
<span class="light">ASN1HEX.</span><b>pemToHex</b>(s, sHead)

</div>
<div class="description">
get hexacedimal string from PEM format data<br/>
This static method gets a hexacedimal string of contents
from PEM format data. You can explicitly specify PEM header
by sHead argument.
Any space characters such as white space or new line
will be omitted.<br/>
NOTE: Now <a href="../symbols/KEYUTIL.html#.getHexFromPEM">KEYUTIL.getHexFromPEM</a> and <a href="../symbols/X509.html#.pemToHex">X509.pemToHex</a>
have been deprecated since jsrsasign 7.0.1.
Please use this method instead.


</div>



<pre class="code">ASN1HEX.pemToHex("-----BEGIN PUBLIC KEY...") &rarr; "3082..."
ASN1HEX.pemToHex("-----BEGIN CERTIFICATE...", "CERTIFICATE") &rarr; "3082..."
ASN1HEX.pemToHex(" \r\n-----BEGIN DSA PRIVATE KEY...") &rarr; "3082..."</pre>




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

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

</dt>
<dd>PEM formatted string</dd>

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

</dt>
<dd>PEM header string without BEGIN/END(OPTION)</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>jsrsasign 7.0.1 asn1hex 1.1.9</dd>
</dl>
</dl>



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

<dd><span class="light fixedFont">{String}</span> hexadecimal string data of PEM contents</dd>

</dl>







Expand Down
31 changes: 26 additions & 5 deletions api/symbols/KEYUTIL.html
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ <h1 class="classTitle">
<td class="nameDescription">
<div class="fixedFont">KEYUTIL.<b><a href="../symbols/KEYUTIL.html#.getHexFromPEM">getHexFromPEM</a></b>(sPEM, sHead)
</div>
<div class="description">get hexacedimal string of PEM format</div>
<div class="description">(DEPRECATED) get hexacedimal string of PEM format</div>
</td>
</tr>

Expand Down Expand Up @@ -635,7 +635,7 @@ <h1 class="classTitle">
<td class="nameDescription">
<div class="fixedFont">KEYUTIL.<b><a href="../symbols/KEYUTIL.html#.getKeyFromPlainPrivatePKCS8Hex">getKeyFromPlainPrivatePKCS8Hex</a></b>(prvKeyHex)
</div>
<div class="description">get RSAKey/ECDSA private key object from HEX plain PEM PKCS#8 private key</div>
<div class="description">get RSAKey/DSA/ECDSA private key object from HEX plain PEM PKCS#8 private key</div>
</td>
</tr>

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

</div>
<div class="description">
get hexacedimal string of PEM format
(DEPRECATED) get hexacedimal string of PEM format


</div>
Expand All @@ -1319,6 +1319,13 @@ <h1 class="classTitle">
</dl>


<dl class="detailList">
<dt class="heading">Deprecated:</dt>
<dt>
from keyutil 1.1.0 jsrsasign 7.0.1. please move to <a href="../symbols/ASN1HEX.html#.pemToHex">ASN1HEX.pemToHex</a>
</dt>
</dl>


<dl class="detailList">
<dt class="heading">Since:</dt>
Expand Down Expand Up @@ -1741,7 +1748,7 @@ <h5>EXAMPLE</h5>

</div>
<div class="description">
get RSAKey/ECDSA private key object from HEX plain PEM PKCS#8 private key
get RSAKey/DSA/ECDSA private key object from HEX plain PEM PKCS#8 private key


</div>
Expand Down Expand Up @@ -1773,7 +1780,7 @@ <h5>EXAMPLE</h5>
<dl class="detailList">
<dt class="heading">Returns:</dt>

<dd><span class="light fixedFont">{Object}</span> RSAKey or KJUR.crypto.ECDSA private key object</dd>
<dd><span class="light fixedFont">{Object}</span> RSAKey or KJUR.crypto.{DSA,ECDSA} private key object</dd>

</dl>

Expand Down Expand Up @@ -2851,6 +2858,13 @@ <h5>EXAMPLE</h5>
</dl>


<dl class="detailList">
<dt class="heading">Deprecated:</dt>
<dt>
since jsrsasign 7.1.0 keyutil 1.1.0
</dt>
</dl>


<dl class="detailList">
<dt class="heading">Since:</dt>
Expand Down Expand Up @@ -2911,6 +2925,13 @@ <h5>EXAMPLE</h5>
</dl>


<dl class="detailList">
<dt class="heading">Deprecated:</dt>
<dt>
since jsrsasign 7.1.0 keyutil 1.1.0
</dt>
</dl>


<dl class="detailList">
<dt class="heading">Since:</dt>
Expand Down
Loading

0 comments on commit 77a87f5

Please sign in to comment.