Skip to content

Commit

Permalink
10.5.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Feb 10, 2022
1 parent 982bcf1 commit 17f0f73
Show file tree
Hide file tree
Showing 188 changed files with 7,450 additions and 5,446 deletions.
18 changes: 18 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@

ChangeLog for jsrsasign

add OtherName support in GeneralName
* Changes from 10.5.2 to 10.5.3 (2022-Feb-10)
- add otherName support in GeneralName by PR
with small update (#535)
- src/asn1x509.js
- add otherName of GeneralName support (#535)
- GeneralName class refactoring
- add OtherName class
- src/x509.js
- add otherName of GeneralName support
- src/asn1hex.js
- add ASN1HEX.parse method
- src/asn1.js
- API doc and error exception fix
- test/qunit-do-{asn1x509,x509-ext}.html
- test case added
- test/qunit-do-asn1hex-parse.html added

small update for OID and JWK
* Changes from 10.5.1 to 10.5.2 (2022-Feb-08)
- src/asn1x509.js
Expand Down
8 changes: 5 additions & 3 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,8 @@ <h2>Classes</h2>

<li><a href="symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -599,7 +601,7 @@ <h2><a href="symbols/src/asn1hex-1.1.js.html">asn1hex-1.1.js</a></h2>


<dt class="heading">Version:</dt>
<dd>jsrsasign 10.1.13 asn1hex 1.2.9 (2021-Mar-07)</dd>
<dd>jsrsasign 10.5.3 asn1hex 1.2.10 (2022-Feb-10)</dd>



Expand Down Expand Up @@ -656,7 +658,7 @@ <h2><a href="symbols/src/asn1x509-1.0.js.html">asn1x509-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>jsrsasign 10.5.2 asn1x509 2.1.11 (2022-Feb-08)</dd>
<dd>jsrsasign 10.5.3 asn1x509 2.1.12 (2022-Feb-09)</dd>



Expand Down Expand Up @@ -884,7 +886,7 @@ <h2><a href="symbols/src/x509-1.1.js.html">x509-1.1.js</a></h2>


<dt class="heading">Version:</dt>
<dd>jsrsasign 10.1.13 x509 2.0.11 (2021-Mar-07)</dd>
<dd>jsrsasign 10.5.3 x509 2.0.12 (2022-Feb-10)</dd>



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

<li><a href="symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -1274,6 +1276,12 @@ <h2><a href="symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></h2>
</div>
<hr />

<div>
<h2><a href="symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></h2>
OtherName ASN.1 structure class
</div>
<hr />

<div>
<h2><a href="symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></h2>
PolicyInformation ASN.1 structure class
Expand Down
80 changes: 77 additions & 3 deletions api/symbols/ASN1HEX.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -813,7 +815,7 @@ <h1 class="classTitle">
<td class="nameDescription">
<div class="fixedFont">ASN1HEX.<b><a href="../symbols/ASN1HEX.html#.isASN1HEX">isASN1HEX</a></b>(hex)
</div>
<div class="description">simple ASN.1 DER hexadecimal string checker
<div class="description">simple ASN.1 DER hexadecimal string checker<br/>
This method checks wheather the argument 'hex' is a hexadecimal string of
ASN.1 data or not.</div>
</td>
Expand All @@ -840,6 +842,16 @@ <h1 class="classTitle">
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">ASN1HEX.<b><a href="../symbols/ASN1HEX.html#.parse">parse</a></b>(h)
</div>
<div class="description">parse ASN.1 DER hexadecimal string<br/>
This method parses ASN.1 DER hexadecimal string.</div>
</td>
</tr>

</tbody>
</table>

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

</div>
<div class="description">
simple ASN.1 DER hexadecimal string checker
simple ASN.1 DER hexadecimal string checker<br/>
This method checks wheather the argument 'hex' is a hexadecimal string of
ASN.1 data or not.

Expand Down Expand Up @@ -2812,6 +2824,68 @@ <h1 class="classTitle">



<hr />

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

<span class="light">{Object}</span>
<span class="light">ASN1HEX.</span><b>parse</b>(h)

</div>
<div class="description">
parse ASN.1 DER hexadecimal string<br/>
This method parses ASN.1 DER hexadecimal string.
Its result can be applied to KJUR.asn1.ASN1Util.newOjbect.


</div>



<pre class="code"></pre>




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

<dt>
<span class="light fixedFont">{String}</span> <b>h</b>

</dt>
<dd>hexadecimal string of ASN1. DER</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>jsrsasign 10.5.3 asn1hex 1.1.x</dd>
</dl>
</dl>



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

<dd><span class="light fixedFont">{Object}</span> associative array of ASN.1 parsed result</dd>

</dl>



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

<dd>KJUR.asn1.ASN1Util.newOjbect</dd>

</dl>





Expand All @@ -2825,7 +2899,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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: 3 additions & 1 deletion api/symbols/Base64x.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -642,7 +644,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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: 3 additions & 1 deletion api/symbols/KEYUTIL.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -2306,7 +2308,7 @@ <h5>EXAMPLE</h5>

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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: 3 additions & 1 deletion api/symbols/KJUR.asn1.ASN1Object.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -988,7 +990,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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: 3 additions & 1 deletion api/symbols/KJUR.asn1.ASN1Util.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -1029,7 +1031,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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: 3 additions & 1 deletion api/symbols/KJUR.asn1.DERAbstractString.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -868,7 +870,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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: 3 additions & 1 deletion api/symbols/KJUR.asn1.DERAbstractStructured.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -797,7 +799,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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: 3 additions & 1 deletion api/symbols/KJUR.asn1.DERAbstractTime.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -974,7 +976,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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: 3 additions & 1 deletion api/symbols/KJUR.asn1.DERBMPString.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -655,7 +657,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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
6 changes: 4 additions & 2 deletions api/symbols/KJUR.asn1.DERBitString.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -690,7 +692,7 @@ <h1 class="classTitle">
// initialize with boolean array
o = new KJUR.asn1.DERBitString({array: [true,false,true,true]});
// initialize with hexadecimal string (04 is unused bits)
o = new KJUR.asn1.DEROctetString({hex: "04bac0"});
o = new KJUR.asn1.DERBitString({hex: "04bac0"});
// initialize with ASN1Util.newObject argument for encapsulated
o = new KJUR.asn1.DERBitString({obj: {seq: [{int: 3}, {prnstr: 'aaa'}]}});
// above generates a ASN.1 data like this:
Expand Down Expand Up @@ -948,7 +950,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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: 3 additions & 1 deletion api/symbols/KJUR.asn1.DERBoolean.html
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>

<li><a href="../symbols/KJUR.asn1.x509.OtherName.html">KJUR.asn1.x509.OtherName</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyInformation.html">KJUR.asn1.x509.PolicyInformation</a></li>

<li><a href="../symbols/KJUR.asn1.x509.PolicyQualifierInfo.html">KJUR.asn1.x509.PolicyQualifierInfo</a></li>
Expand Down Expand Up @@ -645,7 +647,7 @@ <h1 class="classTitle">

<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">
&copy; 2012-2021 Kenji Urushima, All rights reserved<br/>
&copy; 2012-2022 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 17f0f73

Please sign in to comment.