Skip to content

Commit ff7cb4e

Browse files
committed
8.0.10 release
1 parent 0db5476 commit ff7cb4e

29 files changed

+3749
-2961
lines changed

ChangeLog.txt

+20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11

22
ChangeLog for jsrsasign
33

4+
* Changes from 8.0.9 to 8.0.10 (2018-Apr-09)
5+
- IPv6 address support in certificate
6+
- LICENSE.txt
7+
- conclude third party licenses.
8+
- asn1x509 1.1.3 to 1.1.4
9+
- IPv4/v6 iPAddress support in GeneralName
10+
- base64x 1.1.2 to 1.1.3
11+
- ipv6tohex, hextoipv6 and hextoip functions
12+
added for IPv6 string conversion.
13+
- x509 1.1.19 to 1.1.20
14+
- add IPAddress support in getExtSubjectAltName2
15+
- testcase added for above methods/functions
16+
- qunit-do-asn1x509.html
17+
- qunit-do-base64x.html
18+
- qunit-do-x509-ext.html
19+
- tool/tool_ca.html
20+
- use SHA256withRSA and RSA 2048bit key
21+
by default.
22+
- add IPAddress support in subjectAltName
23+
424
* Changes from 8.0.8 to 8.0.9 (2018-Apr-04)
525
- critical bug fix for ASN.1 string class.
626
When UTF-8 string is set to ASN.1 object,

LICENSE.txt

+121-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
The 'jsrsasign'(RSA-Sign JavaScript Library) License
33

4-
Copyright (c) 2010-2016 Kenji Urushima
4+
Copyright (c) 2010-2018 Kenji Urushima
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal
@@ -20,3 +20,123 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2020
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2121
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222
THE SOFTWARE.
23+
24+
LICENSE: BSD License
25+
----
26+
27+
RSA and ECC in JavaScript
28+
29+
Copyright (c) 2003-2005 Tom Wu All Rights Reserved.
30+
31+
Permission is hereby granted, free of charge, to any person obtaining
32+
a copy of this software and associated documentation files (the
33+
"Software"), to deal in the Software without restriction, including
34+
without limitation the rights to use, copy, modify, merge, publish,
35+
distribute, sublicense, and/or sell copies of the Software, and to
36+
permit persons to whom the Software is furnished to do so, subject to
37+
the following conditions:
38+
39+
The above copyright notice and this permission notice shall be
40+
included in all copies or substantial portions of the Software.
41+
42+
THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
43+
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
44+
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
45+
46+
IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
47+
INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER
48+
RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF
49+
THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT
50+
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
51+
52+
In addition, the following condition applies:
53+
54+
All redistributions must retain an intact copy of this copyright notice
55+
and disclaimer.
56+
57+
http://www-cs-students.stanford.edu/~tjw/jsbn/
58+
LICENSE: BSD License
59+
FILES: ext/{base64,jsbn,jsbn2,prgn4,rng,rsa,rsa2}.js
60+
----
61+
62+
CryptoJS
63+
64+
Copyright (c) 2009-2013 Jeff Mott
65+
66+
Permission is hereby granted, free of charge, to any person obtaining
67+
a copy of this software and associated documentation files (the
68+
"Software"), to deal in the Software without restriction, including
69+
without limitation the rights to use, copy, modify, merge, publish,
70+
distribute, sublicense, and/or sell copies of the Software, and to
71+
permit persons to whom the Software is furnished to do so, subject to
72+
the following conditions:
73+
74+
The above copyright notice and this permission notice shall be
75+
included in all copies or substantial portions of the Software.
76+
77+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
78+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
79+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
80+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
81+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
82+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
83+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
84+
85+
https://code.google.com/p/crypto-js/wiki/License
86+
FILES: ext/cryptojs-*.js
87+
----
88+
89+
YUI Library
90+
91+
Software License Agreement (BSD License)
92+
93+
Copyright c 2013 Yahoo! Inc. All rights reserved.
94+
95+
Redistribution and use of this software in source and binary forms,
96+
with or without modification, are permitted provided that the
97+
following conditions are met:
98+
99+
- Redistributions of source code must retain the above copyright
100+
notice, this list of conditions and the following disclaimer.
101+
102+
- Redistributions in binary form must reproduce the above copyright
103+
notice, this list of conditions and the following disclaimer in the
104+
documentation and/or other materials provided with the distribution.
105+
106+
- Neither the name of Yahoo! Inc. nor the names of YUI's contributors
107+
may be used to endorse or promote products derived from this
108+
software without specific prior written permission of Yahoo! Inc.
109+
110+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
111+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
112+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
113+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
114+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
115+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
116+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
117+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
118+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
119+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
120+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
121+
122+
http://yuilibrary.com/license/
123+
LICENSE: BSD License
124+
FILES: ext/yui*.js
125+
----
126+
127+
Bitcoin JS
128+
129+
Copyright (c) 2011 Stefan Thomas
130+
131+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
132+
133+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
134+
135+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
136+
137+
https://github.com/bitcoinjs/bitcoinjs-lib
138+
LICENSE: MIT License
139+
FILES: src/ecdsa-modified.js src/ec-patch.js
140+
----
141+
142+

api/files.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ <h2><a href="symbols/src/asn1x509-1.0.js.html">asn1x509-1.0.js</a></h2>
574574

575575

576576
<dt class="heading">Version:</dt>
577-
<dd>jsrsasign 8.0.0 asn1x509 1.1.3 (2018-Apr-03)</dd>
577+
<dd>jsrsasign 8.0.0 asn1x509 1.1.4 (2018-Apr-04)</dd>
578578

579579

580580

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

594594

595595
<dt class="heading">Version:</dt>
596-
<dd>jsrsasign 7.2.1 base64x 1.1.12 (2017-Jun-03)</dd>
596+
<dd>jsrsasign 8.0.10 base64x 1.1.13 (2018-Apr-06)</dd>
597597

598598

599599

@@ -802,7 +802,7 @@ <h2><a href="symbols/src/x509-1.1.js.html">x509-1.1.js</a></h2>
802802

803803

804804
<dt class="heading">Version:</dt>
805-
<dd>jsrsasign 8.0.6 x509 1.1.19 (2018-Feb-03)</dd>
805+
<dd>jsrsasign 8.0.10 x509 1.1.20 (2018-Apr-09)</dd>
806806

807807

808808

api/symbols/KJUR.asn1.x509.GeneralName.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -512,9 +512,11 @@ <h1 class="classTitle">
512512
<li>ldapdn - directoryName[4] (ex. O=Test,C=US)</li>
513513
<li>certissuer - directoryName[4] (PEM or hex string of cert)</li>
514514
<li>certsubj - directoryName[4] (PEM or hex string of cert)</li>
515+
<li>ip - iPAddress[7] (ex. 192.168.1.1, 2001:db3::43, 3faa0101...)</li>
515516
</ul>
516517
NOTE1: certissuer and certsubj were supported since asn1x509 1.0.10.<br/>
517518
NOTE2: dn and ldapdn were supported since jsrsasign 6.2.3 asn1x509 1.0.19.<br/>
519+
NOTE3: ip were supported since jsrsasign 8.0.10 asn1x509 1.1.4.<br/>
518520

519521
Here is definition of the ASN.1 syntax:
520522
<pre>
@@ -541,7 +543,10 @@ <h1 class="classTitle">
541543
gn = new KJUR.asn1.x509.GeneralName({dn: '/C=US/O=Test'});
542544
gn = new KJUR.asn1.x509.GeneralName({ldapdn: 'O=Test,C=US'});
543545
gn = new KJUR.asn1.x509.GeneralName({certissuer: certPEM});
544-
gn = new KJUR.asn1.x509.GeneralName({certsubj: certPEM});</pre>
546+
gn = new KJUR.asn1.x509.GeneralName({certsubj: certPEM});
547+
gn = new KJUR.asn1.x509.GeneralName({ip: '192.168.1.1'});
548+
gn = new KJUR.asn1.x509.GeneralName({ip: '2001:db4::4:1'});
549+
gn = new KJUR.asn1.x509.GeneralName({ip: 'c0a80101'});</pre>
545550

546551

547552

api/symbols/X509.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,8 @@ <h1 class="classTitle">
986986
<li>subjectKeyIdentifier - <a href="../symbols/X509.html#getExtSubjectKeyIdentifier">X509#getExtSubjectKeyIdentifier</a></li>
987987
<li>authorityKeyIdentifier - <a href="../symbols/X509.html#getExtAuthorityKeyIdentifier">X509#getExtAuthorityKeyIdentifier</a></li>
988988
<li>extKeyUsage - <a href="../symbols/X509.html#getExtExtKeyUsageName">X509#getExtExtKeyUsageName</a></li>
989-
<li>subjectAltName - <a href="../symbols/X509.html#getExtSubjectAltName">X509#getExtSubjectAltName</a></li>
989+
<li>subjectAltName(DEPRECATED) - <a href="../symbols/X509.html#getExtSubjectAltName">X509#getExtSubjectAltName</a></li>
990+
<li>subjectAltName2 - <a href="../symbols/X509.html#getExtSubjectAltName2">X509#getExtSubjectAltName2</a></li>
990991
<li>cRLDistributionPoints - <a href="../symbols/X509.html#getExtCRLDistributionPointsURI">X509#getExtCRLDistributionPointsURI</a></li>
991992
<li>authorityInfoAccess - <a href="../symbols/X509.html#getExtAIAInfo">X509#getExtAIAInfo</a></li>
992993
<li>certificatePolicies - <a href="../symbols/X509.html#getExtCertificatePolicies">X509#getExtCertificatePolicies</a></li>
@@ -1652,6 +1653,7 @@ <h1 class="classTitle">
16521653
["DNS", "example.org"],
16531654
["MAIL", "[email protected]"],
16541655
["IP", "192.168.1.1"],
1656+
["IP", "2001:db8::2:1"],
16551657
["DN", "/C=US/O=TEST1"]]</pre>
16561658

16571659

0 commit comments

Comments
 (0)