Skip to content

Commit

Permalink
7.2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Jun 4, 2017
1 parent 89f70bd commit 8871112
Show file tree
Hide file tree
Showing 95 changed files with 13,879 additions and 13,778 deletions.
25 changes: 25 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@

ChangeLog for jsrsasign

* Changes from 7.2.0 to 7.2.1 (2017-Jun-04)
- base64x 1.1.11 to 1.1.12
- function hextopem, pemtohex added
- asn1hex 1.1.11 to 1.1.12
- make ASN1HEX.pemToHex deprecated
- asn1 1.0.12 to 1.0.13
- make KJUR.asn1.ASN1Util.getPEMStringFromHex deprecated
- rsapem 1.2.1 to 1.2.2
- make RSAKey.pemToBase64 deprecated
- x509 1.1.14 to 1.1.15
- make X509.pemToBase64 deprecated
- further refactoring. reducing min.js size by refactoring
- asn1 1.0.12 to 1.0.13
- asn1cades 1.0.2 to 1.0.3
- asn1cms 1.0.3 to 1.0.4
- asn1csr 1.0.4 to 1.0.5
- asn1ocsp 1.0.2 to 1.0.3
- asn1tsp 1.0.2 to 1.0.3
- asn1x509 1.0.23 to 1.0.24
- jws 3.3.6 to 3.3.7
- jwsjs 2.1.0 to 2.1.1
- keyutil 1.1.1 to 1.1.2
- pkcs5pkey 1.1.1 to 1.1.2
- x509 1.1.14 to 1.1.15

* Changes from 7.1.4 to 7.2.0 (2017-May-21)
- major refactoring before reducing file size
- major refactoring for ASN1HEX
Expand Down
39 changes: 27 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
all: join-main
.PHONY: all

join-minify: *min.js ext/*min.js npm/lib/header.js npm/lib/footer.js
cat *min.js $(shell find ext/ -name "*min.js") | sed "s/\/*! /\n\/*! /g" > jsrsasign-4.9.0-mdcone-all-min.js
cp jsrsasign-4.9.0-mdcone-all-min.js jsrsasign-latest-all-min.js
FILES_MIN = \
min/asn1-1.0.min.js \
min/asn1hex-1.1.min.js \
min/asn1x509-1.0.min.js \
min/asn1cms-1.0.min.js \
min/asn1tsp-1.0.min.js \
min/asn1cades-1.0.min.js \
min/asn1csr-1.0.min.js \
min/asn1ocsp-1.0.min.js \
min/base64x-1.1.min.js \
min/crypto-1.1.min.js \
min/ecdsa-modified-1.0.min.js \
min/ecparam-1.0.min.js \
min/dsa-2.0.min.js \
min/pkcs5pkey-1.0.min.js \
min/keyutil-1.0.min.js \
min/rsapem-1.1.min.js \
min/rsasign-1.2.min.js \
min/x509-1.1.min.js \
min/jws-3.3.min.js \
min/jwsjs-2.0.min.js

#min-js: *.js
# for i in `ls *.js | grep -v "min.js"` ; do java -jar ~/src/yuicompressor/build/yuicompressor-2.4.8.jar $i -o `echo $i | sed 's/.js/-min.js/g'` ; done
all-min: $(FILES_MIN)
@echo "all min converted."

min/%.min.js: src/%.js
yuicmp $^ -o $@

join-main: join-minify
cat \
npm/lib/header.js \
jsrsasign-latest-all-min.js \
npm/lib/footer.js \
> npm/lib/jsrsasign.js
30 changes: 15 additions & 15 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ <h2><a href="symbols/src/asn1-1.0.js.html">asn1-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>asn1 1.0.12 (2016-Nov-19)</dd>
<dd>asn1 1.0.13 (2017-Jun-02)</dd>



Expand All @@ -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>jsrsasign 7.2.0 asn1cades 1.0.2 (2017-May-12)</dd>
<dd>jsrsasign 7.2.1 asn1cades 1.0.3 (2017-Jun-03)</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.3 (2017-Jan-14)</dd>
<dd>1.0.4 (2017-May-30)</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>jsrsasign 7.2.0 asn1csr 1.0.4 (2017-May-21)</dd>
<dd>jsrsasign 7.2.1 asn1csr 1.0.5 (2017-Jun-03)</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.11 (2017-May-11)</dd>
<dd>asn1hex 1.1.12 (2017-Jun-03)</dd>



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


<dt class="heading">Version:</dt>
<dd>jsrsasign 7.2.0 asn1ocsp 1.0.2 (2017-May-12)</dd>
<dd>jsrsasign 7.2.1 asn1ocsp 1.0.3 (2017-Jun-03)</dd>



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


<dt class="heading">Version:</dt>
<dd>jsrsasign 7.2.0 asn1tsp 1.0.2 (2017-May-12)</dd>
<dd>jsrsasign 7.2.1 asn1tsp 1.0.3 (2017-Jun-03)</dd>



Expand All @@ -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.23 (2017-Apr-30)</dd>
<dd>1.0.24 (2017-May-28)</dd>



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


<dt class="heading">Version:</dt>
<dd>jsrsasign 7.2.0 base64x 1.1.11 (2017-May-20)</dd>
<dd>jsrsasign 7.2.1 base64x 1.1.12 (2017-Jun-03)</dd>



Expand Down Expand Up @@ -690,7 +690,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.6 (2017-Apr-15)</dd>
<dd>jsrsasign 7.2.1 jws 3.3.7 (2017-Jun-03)</dd>



Expand All @@ -709,7 +709,7 @@ <h2><a href="symbols/src/jwsjs-2.0.js.html">jwsjs-2.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>2.1.0 (2016 Sep 6)</dd>
<dd>jsrsasign 7.2.1 jwsjs 2.1.1 (2017-Jun-03)</dd>



Expand All @@ -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 7.2.0 keyutil 1.1.1 (2017-May-21)</dd>
<dd>jsrsasign 7.2.1 keyutil 1.1.2 (2017-Jun-03)</dd>



Expand Down Expand Up @@ -766,7 +766,7 @@ <h2><a href="symbols/src/pkcs5pkey-1.0.js.html">pkcs5pkey-1.0.js (DEPRECATED)</a


<dt class="heading">Version:</dt>
<dd>jsrsasign 7.2.0 pkcs5pkey 1.1.1 (2017-May-12)</dd>
<dd>jsrsasign 7.2.1 pkcs5pkey 1.1.2 (2017-Jun-03)</dd>



Expand All @@ -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>jsrsasign 7.2.0 rsapem 1.2.1 (2017-May-12)</dd>
<dd>jsrsasign 7.2.1 rsapem 1.2.2 (2017-Jun-03)</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>jsrsasign 7.2.0 x509 1.1.14 (2017-May-12)</dd>
<dd>jsrsasign 7.2.1 x509 1.1.15 (2017-Jun-03)</dd>



Expand Down
13 changes: 10 additions & 3 deletions api/symbols/ASN1HEX.html
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ <h1 class="classTitle">
<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/>
<div class="description">(DEPRECATED) get hexacedimal string from PEM format data<br/>
This static method gets a hexacedimal string of contents
from PEM format data.</div>
</td>
Expand Down Expand Up @@ -933,7 +933,7 @@ <h1 class="classTitle">
INTEGER 01
INTEGER 02
// 5) ASN.1 DUMP FOR X.509 CERTIFICATE
ASN1HEX.dump(ASN1HEX.pemToHex(certPEM))
ASN1HEX.dump(pemtohex(certPEM))
&darr;
SEQUENCE
SEQUENCE
Expand Down Expand Up @@ -2625,7 +2625,7 @@ <h1 class="classTitle">

</div>
<div class="description">
get hexacedimal string from PEM format data<br/>
(DEPRECATED) 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.
Expand Down Expand Up @@ -2665,6 +2665,13 @@ <h1 class="classTitle">
</dl>


<dl class="detailList">
<dt class="heading">Deprecated:</dt>
<dt>
since jsrsasign 7.2.1 asn1hex 1.1.12. Please move to <a href="../symbols/global__.html#pemtohex">pemtohex</a>
</dt>
</dl>


<dl class="detailList">
<dt class="heading">Since:</dt>
Expand Down
18 changes: 16 additions & 2 deletions api/symbols/KJUR.asn1.x509.X509Util.html
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ <h1 class="classTitle">
<div class="fixedFont">
<b><a href="../symbols/KJUR.asn1.x509.X509Util.html#constructor">KJUR.asn1.x509.X509Util</a></b>()
</div>
<div class="description">X.509 certificate and CRL utilities class</div>
<div class="description">X.509 certificate and CRL utilities class<br/></div>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -536,7 +536,7 @@ <h1 class="classTitle">
</div>

<div class="description">
X.509 certificate and CRL utilities class
X.509 certificate and CRL utilities class<br/>

</div>

Expand All @@ -545,6 +545,13 @@ <h1 class="classTitle">



<dl class="detailList">
<dt class="heading">Deprecated:</dt>
<dt>
jsrsasign 7.2.1 asn1x509 1.0.24
</dt>
</dl>




Expand Down Expand Up @@ -596,6 +603,13 @@ <h1 class="classTitle">
</dl>


<dl class="detailList">
<dt class="heading">Deprecated:</dt>
<dt>
jsrsasign 7.2.1 asn1x509 1.0.24 use <a href="../symbols/KEYUTIL.html#.getPEM">KEYUTIL.getPEM</a>
</dt>
</dl>




Expand Down
7 changes: 7 additions & 0 deletions api/symbols/RSAKey.html
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,13 @@ <h1 class="classTitle">
</dl>


<dl class="detailList">
<dt class="heading">Deprecated:</dt>
<dt>
jsrsasign 7.2.1 rsapem 1.1.2
</dt>
</dl>




Expand Down
15 changes: 11 additions & 4 deletions api/symbols/X509.html
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ <h1 class="classTitle">
<td class="nameDescription">
<div class="fixedFont">X509.<b><a href="../symbols/X509.html#.pemToBase64">pemToBase64</a></b>(sCertPEM)
</div>
<div class="description">get Base64 string from PEM certificate string</div>
<div class="description">(DEPRECATED) get Base64 string from PEM certificate string</div>
</td>
</tr>

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



<pre class="code">hCert = ASN1HEX.pemToHex(certGithubPEM);
<pre class="code">hCert = pemtohex(certGithubPEM);
a = X509.getV3ExtInfoListOfCertHex(hCert);
// Then a will be an array of like following:
[{posTLV: 1952, oid: "2.5.29.35", critical: false, posV: 1968},
Expand Down Expand Up @@ -4497,7 +4497,7 @@ <h1 class="classTitle">

</div>
<div class="description">
get Base64 string from PEM certificate string
(DEPRECATED) get Base64 string from PEM certificate string


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


<dl class="detailList">
<dt class="heading">Deprecated:</dt>
<dt>
jsrsasign 7.2.1 x509 1.1.15
</dt>
</dl>




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


<pre class="code">pubKey = KEYUTIL.getKey(pemPublicKey); // or certificate
hCert = ASN1HEX.pemToHex(pemCert);
hCert = pemtohex(pemCert);
isValid = X509.verifySignature(hCert, pubKey);</pre>


Expand Down
Loading

0 comments on commit 8871112

Please sign in to comment.