Skip to content

Commit 5efa282

Browse files
committed
10.5.20 release
1 parent 041564e commit 5efa282

19 files changed

+1774
-1639
lines changed

ChangeLog.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11

22
ChangeLog for jsrsasign
33

4+
OCSP ResponderID object udpate
5+
* Changes from 10.5.19 to 10.5.20 (2022-Apr-25)
6+
- src/asn1ocsp.js
7+
- ResponderID class now also supports PEM certificate or
8+
X509 object for key and name field.
9+
- test/qunit-do-asn1ocsp.html
10+
- add some test cases and fix for above
11+
- remove silver sponsor
12+
413
Time stamp package update
514
* Changes from 10.5.18 to 10.5.19 (2022-Apr-23)
615
- src/asn1tsp.js

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,4 @@ You can donate cryptocurrency to jsrsasign using the following addresses:
9999
- Litecoin(LTC): [LPf3VDJVamwPcNJNjjVtrUQuJQ17ZyWzeU](https://en.cryptobadges.io/donate/LPf3VDJVamwPcNJNjjVtrUQuJQ17ZyWzeU)
100100
- Bitcoin Cash(BCH): bitcoincash:pq3hy08pc9vm57q6ddgsc06cqdffmfzwwqxd9yejyf
101101

102-
## SPONSORS
103-
<p align="center">
104-
<font size="+2"><b>Silver Sponsors</b></font><br clear="all"/>
105-
<a href="https://shiguredo.jp/" target="_blank"><img src="https://avatars.githubusercontent.com/u/2549434?s=200&v=4" height="150"/></a>
106-
</p>
107102

api/files.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ <h2><a href="symbols/src/asn1ocsp-1.0.js.html">asn1ocsp-1.0.js</a></h2>
624624

625625

626626
<dt class="heading">Version:</dt>
627-
<dd>jsrsasign 10.5.16 asn1ocsp 1.1.7 (2022-Apr-08)</dd>
627+
<dd>jsrsasign 10.5.20 asn1ocsp 1.1.8 (2022-Apr-25)</dd>
628628

629629

630630

api/symbols/KJUR.asn1.ocsp.ResponderID.html

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -617,18 +617,31 @@ <h1 class="classTitle">
617617
</pre>
618618
Following properties are available:
619619
<ul>
620-
<li>{Array}name (OPTION) - JSON object of <a href="../symbols/KJUR.asn1.x509.X500Name.html">KJUR.asn1.x509.X500Name</a> parameter
621-
for "byName"</li>
622-
<li>{String}key (OPTION) - hexadecimal string of KeyHash value</li>
620+
<li>{Array}name (OPTION) - JSON object of <a href="../symbols/KJUR.asn1.x509.X500Name.html">KJUR.asn1.x509.X500Name</a> parameter,
621+
PEM string of X.509 certificate or {@link X509 object} for "byName",</li>
622+
<li>{String}key (OPTION) - hexadecimal string of KeyHash value,
623+
PEM string of X.509 certificate or {@link X509 object} for "byKey"</li>
623624
</ul>
625+
<br/>
626+
NOTE: From jsrsasign 10.5.20, "name" and "key" member values can be
627+
specified by PEM string of X.509 certificate or {@link X509 object}.
628+
For "name", subject field of the certificate will be used and
629+
for "key", subjectKeyIdentifier extension value of the certificate will be used
630+
respectively.
624631

625632
</div>
626633

627634

628635

629-
<pre class="code">new KJUR.asn1.ocsp.ResponderID({name: {str: "/C=JP/O=Resp"}})
636+
<pre class="code">new KJUR.asn1.ocsp.ResponderID({key: "12ab..."})
637+
new KJUR.asn1.ocsp.ResponderID({name: {str: "/C=JP/O=Resp"}})
630638
new KJUR.asn1.ocsp.ResponderID({name: {array: [[{type:"C",value:"JP",ds:"prn"}]...]}})
631-
new KJUR.asn1.ocsp.ResponderID({key: "12ab..."})</pre>
639+
// by certificate
640+
new KJUR.asn1.ocsp.ResponderID({key: "-----BEGIN CERTIFICATE..."})
641+
new KJUR.asn1.ocsp.ResponderID({name: "-----BEGIN CERTIFICATE..."})
642+
// by X509 object
643+
new KJUR.asn1.ocsp.ResponderID({key: new X509(...)})
644+
new KJUR.asn1.ocsp.ResponderID({name: new X509(...)})</pre>
632645

633646

634647

@@ -667,6 +680,10 @@ <h1 class="classTitle">
667680

668681
<dd><a href="../symbols/KJUR.asn1.ocsp.ResponseData.html">KJUR.asn1.ocsp.ResponseData</a></dd>
669682

683+
<dd><a href="../symbols/X509.html#getSubject">X509#getSubject</a></dd>
684+
685+
<dd><a href="../symbols/X509.html#getExtSubjectKeyIdentifier">X509#getExtSubjectKeyIdentifier</a></dd>
686+
670687
</dl>
671688

672689

api/symbols/src/asn1ocsp-1.0.js.html

Lines changed: 1628 additions & 1584 deletions
Large diffs are not rendered by default.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kjur-jsrsasign",
3-
"version": "10.5.19",
3+
"version": "10.5.20",
44
"main": "jsrsasign-all-min.js",
55
"description": "The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp, CAdES, JWS and JWT in pure JavaScript.",
66
"license": "MIT",

index.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,6 @@ <h4>Cryptocurrency</h4>
155155
<li>Bitcoin Cash(BCH): <code>bitcoincash:pq3hy08pc9vm57q6ddgsc06cqdffmfzwwqxd9yejyf</code></li>
156156
</ul>
157157

158-
<h3 align="center">SILVER SPONSORS</h3>
159-
<p align="center">
160-
<a href="https://shiguredo.jp/" target="_blank"><img src="https://avatars.githubusercontent.com/u/2549434?s=200&v=4" style="width:150px; height:150px"/></a>
161-
</p>
162-
163158
<!-- now editing -->
164159

165160
</section>

jsrsasign-all-min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jsrsasign-jwths-min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jsrsasign-rsa-min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)