Skip to content

Commit

Permalink
10.3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Jun 1, 2021
1 parent 4f106d2 commit 1136cce
Show file tree
Hide file tree
Showing 101 changed files with 2,043 additions and 3,243 deletions.
16 changes: 15 additions & 1 deletion ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@

ChangeLog for jsrsasign

* Changes from 10.2.0 to next release
remove all YUI dependency
* Changes from 10.2.0 to 10.3.0
- remove YUI library dependency
- LICENSE.txt
- remove YUI license
- src/base64x.js
- add extendClass function to replace YUI class extend
- src/*.js
- replace YAHOO.lang.extend to extendClass all
- src/keyutil.js
- change to raise exception in KEYUTIL class with Error class
- src/asn1x509.js
- API document update for Extesions and CRLReason class
- npm_util/package.json
- fix dependencies (#482)
- test/qunit-do-*.html
- updated to follow above
- test/qunit-do-base64x-class.html added
- test for extendClass function

CVE-2021-30246 RSAKey.verify issue fix
* Changes from 10.1.13 to 10.2.0 (2021-04-14)
Expand Down
38 changes: 0 additions & 38 deletions LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,44 +86,6 @@ https://code.google.com/p/crypto-js/wiki/License
FILES: ext/cryptojs-*.js
----

YUI Library

Software License Agreement (BSD License)

Copyright c 2013 Yahoo! Inc. All rights reserved.

Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following conditions are met:

- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

- Neither the name of Yahoo! Inc. nor the names of YUI's contributors
may be used to endorse or promote products derived from this
software without specific prior written permission of Yahoo! Inc.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

http://yuilibrary.com/license/
LICENSE: BSD License
FILES: ext/yui*.js
----

Bitcoin JS

Copyright (c) 2011 Stefan Thomas
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ HIGHLIGHTS
- no dependency to other library
- no dependency to [W3C Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/) nor [OpenSSL](https://www.openssl.org/)
- no dependency on newer ECMAScirpt function. So old browsers also supported.
- very popular crypto library with [0.6M+ npm downloads/month](https://npm-stat.com/charts.html?package=jsrsasign&from=2016-05-01&to=2021-05-18)
- very popular crypto library with [0.6M+ npm downloads/month](https://npm-stat.com/charts.html?package=jsrsasign&from=2016-05-01&to=2021-05-31)

INSTALL
-------
Expand Down
2 changes: 1 addition & 1 deletion api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ <h2><a href="symbols/src/keyutil-1.0.js.html">keyutil-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>jsrsasign 10.1.6 keyutil 1.2.3 (2021-Feb-08)</dd>
<dd>jsrsasign 10.2.1 keyutil 1.2.4 (2021-May-22)</dd>



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

<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
<div class="fixedFont"><b><a href="../symbols/global__.html#extendClass">extendClass</a></b>(subClass, superClass)
</div>
<div class="description">set class inheritance<br/>
This function extends a class and set an inheritance
for member variables and methods.</div>
</td>
</tr>

<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
Expand Down Expand Up @@ -1877,6 +1888,72 @@ <h1 class="classTitle">



<hr />

<a name="extendClass"> </a>
<div class="fixedFont">


<b>extendClass</b>(subClass, superClass)

</div>
<div class="description">
set class inheritance<br/>
This function extends a class and set an inheritance
for member variables and methods.

<br />
<i>Defined in: </i> <a href="../symbols/src/base64x-1.1.js.html">base64x-1.1.js</a>.


</div>



<pre class="code">var Animal = function() {
this.hello = function(){console.log("Hello")};
this.name="Ani";
};
var Dog = function() {
Dog.superclass.constructor.call(this);
this.vow = function(){console.log("Vow wow")};
this.tail=true;
};
extendClass(Dog, Animal);</pre>




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

<dt>
<span class="light fixedFont">{Function}</span> <b>subClass</b>

</dt>
<dd>sub class to set inheritance</dd>

<dt>
<span class="light fixedFont">{Function}</span> <b>superClass</b>

</dt>
<dd>super class to inherit</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>jsrsasign 10.3.0 base64x 1.1.21</dd>
</dl>
</dl>






<hr />

<a name="hextoArrayBuffer"> </a>
Expand Down
Loading

0 comments on commit 1136cce

Please sign in to comment.