Skip to content

Commit

Permalink
remove openpgpjs dependent codes
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Dec 25, 2016
1 parent 18196d2 commit 51cb723
Show file tree
Hide file tree
Showing 185 changed files with 3,782 additions and 3,874 deletions.
18 changes: 17 additions & 1 deletion ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@

ChangeLog for jsrsasign

* Changes from 6.2.3 to next version
* 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
- ASN1HEX.dump also supports ASN1Object as argument
- asn1x509
- API document update
- pkcs5pkey 1.0.7
- merge @machinewu's pull request for API doc fix
- dsa 2.0.0
- some of my own codes are moved from dsa-modified-1.0.js
to dsa-2.0.0 and old openpgpjs codes are re-writed with
my own codes and all of openpgpjs codes are removed from
jsrsasign.
- crypto 1.1.10 to 1.1.11
- some static random number generator methods are
added to KJUR.crypto.Util class for new dsa-2.0:
getRandomHexOfNbytes, getRandomBigIntegerOfNbytes,
getRandomHexOfNbits, getRandomBigIntegerOfNbits,
getRandomBigIntegerZeroToMax, getRandomBigIntegerMinToMax
- REMOVED
- dsa-modified-1.0.js, ext/THIRDPARTY_LICENSE.pgp.txt
- test/qunit-do-*.html
- most of test codes are updated.

* Changes from 6.2.2 to 6.2.3 (2016-Nov-29)
- asn1x509 1.0.18 to 1.0.19
Expand Down
12 changes: 6 additions & 6 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<title>jsrsasign 4.8.7 JavaScript API Reference - File Index</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - File Index</title>
<meta name="generator" content="JsDoc Toolkit" />

<style type="text/css">
Expand Down Expand Up @@ -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.7 (2016-Oct-02)</dd>
<dd>asn1hex 1.1.8 (2016-Dec-03)</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.1.10 (2016-Oct-29)</dd>
<dd>1.1.11 (2016-Dec-25)</dd>



Expand All @@ -623,17 +623,17 @@ <h2><a href="symbols/src/crypto-1.1.js.html">crypto-1.1.js</a></h2>
<hr />

<div>
<h2><a href="symbols/src/dsa-modified-1.0.js.html">dsa-modified-1.0.js</a></h2>
<h2><a href="symbols/src/dsa-2.0.js.html">dsa-2.0.js</a></h2>


<dl>

<dt class="heading">Author:</dt>
<dd>Recurity Labs GmbH (github.com/openpgpjs) and Kenji Urushima ([email protected])</dd>
<dd>Kenji Urushima [email protected]</dd>


<dt class="heading">Version:</dt>
<dd>1.0.1 (2013-Oct-06)</dd>
<dd>dsa 2.0.0 (2016-Dec-24)</dd>



Expand Down
2 changes: 1 addition & 1 deletion api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<title>jsrsasign 4.8.7 JavaScript API Reference - Index</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - Index</title>
<meta name="generator" content="JsDoc Toolkit" />

<style type="text/css">
Expand Down
39 changes: 24 additions & 15 deletions api/symbols/ASN1HEX.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - ASN1HEX</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - ASN1HEX</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -499,9 +499,9 @@ <h1 class="classTitle">
<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">ASN1HEX.<b><a href="../symbols/ASN1HEX.html#.dump">dump</a></b>(hex, associative, idx, indent)
<div class="fixedFont">ASN1HEX.<b><a href="../symbols/ASN1HEX.html#.dump">dump</a></b>(hexOrObj, flags, idx, indent)
</div>
<div class="description">get string of simple ASN.1 dump from hexadecimal ASN.1 data
<div class="description">get string of simple ASN.1 dump from hexadecimal ASN.1 data<br/>
This method will get an ASN.1 dump from
hexadecmal string of ASN.1 DER encoded data.</div>
</td>
Expand Down Expand Up @@ -741,11 +741,11 @@ <h1 class="classTitle">
<div class="fixedFont">&lt;static&gt;

<span class="light">{String}</span>
<span class="light">ASN1HEX.</span><b>dump</b>(hex, associative, idx, indent)
<span class="light">ASN1HEX.</span><b>dump</b>(hexOrObj, flags, idx, indent)

</div>
<div class="description">
get string of simple ASN.1 dump from hexadecimal ASN.1 data
get string of simple ASN.1 dump from hexadecimal ASN.1 data<br/>
This method will get an ASN.1 dump from
hexadecmal string of ASN.1 DER encoded data.
Here are features:
Expand All @@ -763,30 +763,39 @@ <h1 class="classTitle">
</ul>
</li>
</ul>
NOTE1: Argument <a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a> object is supported since
jsrsasign 6.2.4 asn1hex 1.0.8


</div>



<pre class="code">// ASN.1 INTEGER
<pre class="code">// 1) ASN.1 INTEGER
ASN1HEX.dump('0203012345')
&darr;
INTEGER 012345

// ASN.1 Object Identifier
// 2) ASN.1 Object Identifier
ASN1HEX.dump('06052b0e03021a')
&darr;
ObjectIdentifier sha1 (1 3 14 3 2 26)

// ASN.1 SEQUENCE
// 3) ASN.1 SEQUENCE
ASN1HEX.dump('3006020101020102')
&darr;
SEQUENCE
INTEGER 01
INTEGER 02

// ASN.1 DUMP FOR X.509 CERTIFICATE
// 4) ASN.1 SEQUENCE since jsrsasign 6.2.4
o = KJUR.asn1.ASN1Util.newObject({seq: [{int: 1}, {int: 2}]});
ASN1HEX.dump(o)
&darr;
SEQUENCE
INTEGER 01
INTEGER 02
// 5) ASN.1 DUMP FOR X.509 CERTIFICATE
ASN1HEX.dump(X509.pemToHex(certPEM))
&darr;
SEQUENCE
Expand All @@ -811,16 +820,16 @@ <h1 class="classTitle">
<dt class="heading">Parameters:</dt>

<dt>
<span class="light fixedFont">{String}</span> <b>hex</b>
<span class="light fixedFont">{Object}</span> <b>hexOrObj</b>

</dt>
<dd>hexadecmal string of ASN.1 data</dd>
<dd>hexadecmal string of ASN.1 data or ASN1Object object</dd>

<dt>
<span class="light fixedFont">{Array}</span> <b>associative</b>
<span class="light fixedFont">{Array}</span> <b>flags</b>

</dt>
<dd>array of flags for dump (OPTION)</dd>
<dd>associative array of flags for dump (OPTION)</dd>

<dt>
<span class="light fixedFont">{Number}</span> <b>idx</b>
Expand All @@ -832,7 +841,7 @@ <h1 class="classTitle">
<span class="light fixedFont">{String}</span> <b>indent</b>

</dt>
<dd>string (OPTION)</dd>
<dd>indent string (OPTION)</dd>

</dl>

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

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
4 changes: 2 additions & 2 deletions api/symbols/Base64x.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - Base64x</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - Base64x</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -562,7 +562,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
4 changes: 2 additions & 2 deletions api/symbols/KEYUTIL.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - KEYUTIL</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - KEYUTIL</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -3046,7 +3046,7 @@ <h5>EXAMPLE</h5>

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
4 changes: 2 additions & 2 deletions api/symbols/KJUR.asn1.ASN1Object.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - KJUR.asn1.ASN1Object</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - KJUR.asn1.ASN1Object</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -861,7 +861,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
4 changes: 2 additions & 2 deletions api/symbols/KJUR.asn1.ASN1Util.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - KJUR.asn1.ASN1Util</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - KJUR.asn1.ASN1Util</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -927,7 +927,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
4 changes: 2 additions & 2 deletions api/symbols/KJUR.asn1.DERAbstractString.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - KJUR.asn1.DERAbstractString</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - KJUR.asn1.DERAbstractString</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -776,7 +776,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
4 changes: 2 additions & 2 deletions api/symbols/KJUR.asn1.DERAbstractStructured.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - KJUR.asn1.DERAbstractStructured</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - KJUR.asn1.DERAbstractStructured</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -717,7 +717,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
4 changes: 2 additions & 2 deletions api/symbols/KJUR.asn1.DERAbstractTime.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - KJUR.asn1.DERAbstractTime</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - KJUR.asn1.DERAbstractTime</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -749,7 +749,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
4 changes: 2 additions & 2 deletions api/symbols/KJUR.asn1.DERBitString.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - KJUR.asn1.DERBitString</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - KJUR.asn1.DERBitString</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -868,7 +868,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
4 changes: 2 additions & 2 deletions api/symbols/KJUR.asn1.DERBoolean.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - KJUR.asn1.DERBoolean</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - KJUR.asn1.DERBoolean</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -559,7 +559,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
4 changes: 2 additions & 2 deletions api/symbols/KJUR.asn1.DEREnumerated.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="generator" content="JsDoc Toolkit" />

<title>jsrsasign 4.8.7 JavaScript API Reference - KJUR.asn1.DEREnumerated</title>
<title>jsrsasign 7.0.0 JavaScript API Reference - KJUR.asn1.DEREnumerated</title>

<style type="text/css">
/* default.css */
Expand Down Expand Up @@ -731,7 +731,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2015 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2016 Kenji Urushima, All rights reserved<br/>

Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
</div>
Expand Down
Loading

0 comments on commit 51cb723

Please sign in to comment.