Skip to content

Commit 58e5cdf

Browse files
committed
10.6.0 release
1 parent c665ebc commit 58e5cdf

28 files changed

+4566
-3692
lines changed

ChangeLog.txt

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,31 @@
11

22
ChangeLog for jsrsasign
33

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

1230
CSRUtil class enhancement
1331
* Changes from 10.5.25 to 10.5.26 (2022-Jul-14)

api/files.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ <h2><a href="symbols/src/asn1x509-1.0.js.html">asn1x509-1.0.js</a></h2>
662662

663663

664664
<dt class="heading">Version:</dt>
665-
<dd>jsrsasign 10.5.22 asn1x509 2.1.16 (2022-May-24)</dd>
665+
<dd>jsrsasign 10.6.0 asn1x509 2.1.17 (2022-Nov-04)</dd>
666666

667667

668668

@@ -890,7 +890,7 @@ <h2><a href="symbols/src/x509-1.1.js.html">x509-1.1.js</a></h2>
890890

891891

892892
<dt class="heading">Version:</dt>
893-
<dd>jsrsasign 10.5.24 x509 2.0.17 (2022-Jun-04)</dd>
893+
<dd>jsrsasign 10.6.0 x509 2.1.0 (2022-Nov-04)</dd>
894894

895895

896896

api/symbols/KJUR.asn1.DERTaggedObject.html

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,16 +639,24 @@ <h1 class="classTitle">
639639
<li>tag - specify tag (default is 'a0' which means [0])</li>
640640
<li>explicit - specify true if this is explicit tag otherwise false
641641
(default is 'true').</li>
642-
<li>obj - specify ASN1Object which is tagged</li>
642+
<li>obj - specify ASN1Object or JSON object which will be tagged</li>
643643
<li>tage - specify tag with explicit</li>
644644
<li>tagi - specify tag with implicit</li>
645645
</ul>
646+
As for the member "obj" value of JSON object,
647+
KJUR_asn1.ASN1Util.newObject is used to generate.
646648

647649
</div>
648650

649651

650652

651-
<pre class="code">new KJUR.asn1.DERTaggedObject({
653+
<pre class="code">// by JSON
654+
new KJUR.asn1.DERTaggedObject({
655+
tag:'a0', explicit: true, obj: { "prnstr": { "str": "aaa" } }
656+
}).tohex()
657+
658+
// by ASN1Object object
659+
new KJUR.asn1.DERTaggedObject({
652660
tage:'a0', obj: new KJUR.asn1.DERInteger({int: 3}) // explicit
653661
})
654662
new KJUR.asn1.DERTaggedObject({
@@ -673,6 +681,13 @@ <h1 class="classTitle">
673681

674682

675683

684+
<dl class="detailList">
685+
<dt class="heading">See:</dt>
686+
687+
<dd>KJUR_asn1.ASN1Util.newObject</dd>
688+
689+
</dl>
690+
676691

677692
</div>
678693

api/symbols/KJUR.asn1.x509.GeneralName.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ <h1 class="classTitle">
648648
gn = new KJUR.asn1.x509.GeneralName({uri: 'http://aaa.com/'});
649649
gn = new KJUR.asn1.x509.GeneralName({other: {
650650
oid: "1.2.3.4",
651-
value: {utf8: "example"} // any ASN.1 which passed to ASN1Util.newObject
651+
value: {utf8str: "example"} // any ASN.1 which passed to ASN1Util.newObject
652652
}});
653653

654654
gn = new KJUR.asn1.x509.GeneralName({ldapdn: 'O=Test,C=US'}); // DEPRECATED

api/symbols/KJUR.asn1.x509.OtherName.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ <h1 class="classTitle">
589589
Constructor has two members:
590590
<ul>
591591
<li>oid - oid string (ex. "1.2.3.4")</li>
592-
<li>value - associative array passed to ASN1Util.newObject</li>
592+
<li>value - JSON object passed to ASN1Util.newObject or ASN1Object object</li>
593593
</ul>
594594

595595
<pre>

0 commit comments

Comments
 (0)