Skip to content

Commit

Permalink
10.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Nov 4, 2022
1 parent c665ebc commit 58e5cdf
Show file tree
Hide file tree
Showing 28 changed files with 4,566 additions and 3,692 deletions.
32 changes: 25 additions & 7 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@

ChangeLog for jsrsasign

extend CertificationRequestInfo class for challengePassword and unstructuredName
* Changes from 10.5.26 to 10.5.27 (2022-Aug-19)
- src/asn1csr.js
- CertificationRequestInfo class
- add support for challengePassword and unstructuredName (#522)
- "attrs" member support in constructure argument
- test/qunit-do-asn1csr.html
StringPrep DN canonicalization support and some fix
* Changes from 10.5.27 to 10.6.0 (2022-Nov-04)
- x509.js
- X509.getParam
- add support for optional parameter "dncanon" and "dnhex"
- X509.getInfo
- update representation for AltName
- X509.{getIssuer,getSubect}
- add support for optional argument flagCanon, flagHex
- X509.c14RDNArray added to convert from RDN array to canonicalized
DN name (a.k.a. StringPrep).
- X509.getX500Name
- API document updated
- X509.getOtherName
- member name changed from "other" to "value" for
consistency with KJUR.asn1.x509.OtherName class constructor.
- Also oid member value in return object will be an oid name if defined.
- X509.setCanonicalizedDN added to set "canon" member value
- asn1x509.js
- smtpUTF8Mailbox oid added to OID class
- API document fix
- asn1.js
- DERTaggedObject API document update
- test/qunit-do-{asn1x509,x509-ext,x509-getinfo,x509-param,x509}.html
- update some test cases for above

CSRUtil class enhancement
* Changes from 10.5.25 to 10.5.26 (2022-Jul-14)
Expand Down
4 changes: 2 additions & 2 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,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.22 asn1x509 2.1.16 (2022-May-24)</dd>
<dd>jsrsasign 10.6.0 asn1x509 2.1.17 (2022-Nov-04)</dd>



Expand Down Expand Up @@ -890,7 +890,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.5.24 x509 2.0.17 (2022-Jun-04)</dd>
<dd>jsrsasign 10.6.0 x509 2.1.0 (2022-Nov-04)</dd>



Expand Down
19 changes: 17 additions & 2 deletions api/symbols/KJUR.asn1.DERTaggedObject.html
Original file line number Diff line number Diff line change
Expand Up @@ -639,16 +639,24 @@ <h1 class="classTitle">
<li>tag - specify tag (default is 'a0' which means [0])</li>
<li>explicit - specify true if this is explicit tag otherwise false
(default is 'true').</li>
<li>obj - specify ASN1Object which is tagged</li>
<li>obj - specify ASN1Object or JSON object which will be tagged</li>
<li>tage - specify tag with explicit</li>
<li>tagi - specify tag with implicit</li>
</ul>
As for the member "obj" value of JSON object,
KJUR_asn1.ASN1Util.newObject is used to generate.

</div>



<pre class="code">new KJUR.asn1.DERTaggedObject({
<pre class="code">// by JSON
new KJUR.asn1.DERTaggedObject({
tag:'a0', explicit: true, obj: { "prnstr": { "str": "aaa" } }
}).tohex()

// by ASN1Object object
new KJUR.asn1.DERTaggedObject({
tage:'a0', obj: new KJUR.asn1.DERInteger({int: 3}) // explicit
})
new KJUR.asn1.DERTaggedObject({
Expand All @@ -673,6 +681,13 @@ <h1 class="classTitle">



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

<dd>KJUR_asn1.ASN1Util.newObject</dd>

</dl>


</div>

Expand Down
2 changes: 1 addition & 1 deletion api/symbols/KJUR.asn1.x509.GeneralName.html
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ <h1 class="classTitle">
gn = new KJUR.asn1.x509.GeneralName({uri: 'http://aaa.com/'});
gn = new KJUR.asn1.x509.GeneralName({other: {
oid: "1.2.3.4",
value: {utf8: "example"} // any ASN.1 which passed to ASN1Util.newObject
value: {utf8str: "example"} // any ASN.1 which passed to ASN1Util.newObject
}});

gn = new KJUR.asn1.x509.GeneralName({ldapdn: 'O=Test,C=US'}); // DEPRECATED
Expand Down
2 changes: 1 addition & 1 deletion api/symbols/KJUR.asn1.x509.OtherName.html
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ <h1 class="classTitle">
Constructor has two members:
<ul>
<li>oid - oid string (ex. "1.2.3.4")</li>
<li>value - associative array passed to ASN1Util.newObject</li>
<li>value - JSON object passed to ASN1Util.newObject or ASN1Object object</li>
</ul>

<pre>
Expand Down
Loading

0 comments on commit 58e5cdf

Please sign in to comment.