Skip to content

Commit

Permalink
4.1.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Oct 2, 2013
1 parent 7c21fda commit 94a8113
Show file tree
Hide file tree
Showing 83 changed files with 4,511 additions and 1,400 deletions.
11 changes: 11 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@

ChangeLog for jsrsasign

* Changes between 4.1.5 to 4.1.6 (2013-Oct-02)
- newly dsa-modified 1.0.0 added
- This is a DSA algorithm ported from github.com/openpgpjs
- However Signature and KEYUTIL doesn't support DSA yet.
- asn1 1.0.3 to 1.0.4
- ASN1Util.jsonToASN1HEX method added.
- asn1hex 1.1.3 to 1.1.4
- ASN1HEX.getVbyList with tag checking method added.
- keyutil 1.0.1 to 1.0.2
- fix typo in newEncryptedPKCS5PEM method.

* Changes between 4.1.4 to 4.1.5 (2013-Sep-29)
- keyutil 1.0.0 to 1.0.1
- new generateKeypair method added
Expand Down
27 changes: 24 additions & 3 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ <h2>Classes</h2>

<li><a href="symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down Expand Up @@ -325,7 +327,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.3 (2013-Sep-12)</dd>
<dd>asn1 1.0.4 (2013-Oct-02)</dd>



Expand All @@ -344,7 +346,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.2 (2013-Aug-21)</dd>
<dd>asn1hex 1.1.4 (2013-Oct-02)</dd>



Expand Down Expand Up @@ -398,6 +400,25 @@ <h2><a href="symbols/src/crypto-1.1.js.html">crypto-1.1.js</a></h2>



</dl>
</div>
<hr />

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


<dl>

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


<dt class="heading">Version:</dt>
<dd>1.0.0 (2013-Oct-02)</dd>



</dl>
</div>
<hr />
Expand Down Expand Up @@ -451,7 +472,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.1 (2013-Sep-27)</dd>
<dd>keyutil 1.0.2 (2013-Oct-02)</dd>



Expand Down
8 changes: 8 additions & 0 deletions api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ <h2>Classes</h2>

<li><a href="symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down Expand Up @@ -614,6 +616,12 @@ <h2><a href="symbols/KJUR.crypto.html">KJUR.crypto</a></h2>
</div>
<hr />

<div>
<h2><a href="symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></h2>
class for DSA signing and verifcation
</div>
<hr />

<div>
<h2><a href="symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></h2>
class for EC key generation, ECDSA signing and verifcation
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/ASN1HEX.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/Base64x.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KEYUTIL.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.ASN1Object.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
89 changes: 83 additions & 6 deletions api/symbols/KJUR.asn1.ASN1Util.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down Expand Up @@ -386,13 +388,24 @@ <h1 class="classTitle">
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">KJUR.asn1.ASN1Util.<b><a href="../symbols/KJUR.asn1.ASN1Util.html#.jsonToASN1HEX">jsonToASN1HEX</a></b>(param)
</div>
<div class="description">get encoded hexadecimal string of ASN1Object specifed by JSON parameters
As for ASN.1 object representation of JSON object,
please see newObject.</div>
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">KJUR.asn1.ASN1Util.<b><a href="../symbols/KJUR.asn1.ASN1Util.html#.newObject">newObject</a></b>(param)
</div>
<div class="description">generate ASN1Object specifed by parameters
generate any ASN1Object specified by param
<div class="description">generate ASN1Object specifed by JSON parameters
generate any ASN1Object specified by JSON param
including ASN.1 primitive or structured.</div>
</td>
</tr>
Expand Down Expand Up @@ -506,6 +519,61 @@ <h1 class="classTitle">



<hr />

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


<span class="light">KJUR.asn1.ASN1Util.</span><b>jsonToASN1HEX</b>(param)

</div>
<div class="description">
get encoded hexadecimal string of ASN1Object specifed by JSON parameters
As for ASN.1 object representation of JSON object,
please see newObject.


</div>



<pre class="code">jsonToASN1HEX({'prnstr': 'aaa'});</pre>




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

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

</dt>
<dd>JSON parameter to generate ASN1Object</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>asn1 1.0.4</dd>
</dl>
</dl>



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

<dd>hexadecimal string of ASN1Object</dd>

</dl>




<hr />

<a name=".newObject"> </a>
Expand All @@ -516,8 +584,8 @@ <h1 class="classTitle">

</div>
<div class="description">
generate ASN1Object specifed by parameters
generate any ASN1Object specified by param
generate ASN1Object specifed by JSON parameters
generate any ASN1Object specified by JSON param
including ASN.1 primitive or structured.
Generally 'param' can be described as follows:
<blockquote>
Expand Down Expand Up @@ -550,8 +618,17 @@ <h1 class="classTitle">

<pre class="code">newObject({'prnstr': 'aaa'});
newObject({'seq': [{'int': 3}, {'prnstr': 'aaa'}]})
// ASN.1 Tagged Object
newObject({'tag': {'tag': 'a1',
'obj': {'seq': [{'int': 3}, {'prnstr': 'aaa'}]}}});</pre>
'explicit': true,
'obj': {'seq': [{'int': 3}, {'prnstr': 'aaa'}]}}});
// more simple representation of ASN.1 Tagged Object
newObject({'tag': ['a1',
true,
{'seq': [
{'int': 3},
{'prnstr': 'aaa'}]}
]});</pre>



Expand All @@ -563,7 +640,7 @@ <h1 class="classTitle">
<span class="light fixedFont">{Array}</span> <b>param</b>

</dt>
<dd>parameter to generate ASN1Object</dd>
<dd>JSON parameter to generate ASN1Object</dd>

</dl>

Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERAbstractString.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERAbstractStructured.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERAbstractTime.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERBitString.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERBoolean.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERGeneralizedTime.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERIA5String.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERInteger.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERNull.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERNumericString.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERObjectIdentifier.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DEROctetString.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERPrintableString.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>

<li><a href="../symbols/KJUR.crypto.DSA.html">KJUR.crypto.DSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>

<li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
Expand Down
Loading

0 comments on commit 94a8113

Please sign in to comment.