-
-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
.STRN {color: #393;} | ||
.REGX {color: #339;} | ||
.line {border-right: 1px dotted #666; color: #666; font-style: normal;} | ||
</style></head><body><pre><span class='line'> 1</span> <span class="COMM">/* asn1ocsp-1.1.1.js (c) 2016-2020 Kenji Urushima | kjur.github.com/jsrsasign/license | ||
</style></head><body><pre><span class='line'> 1</span> <span class="COMM">/* asn1ocsp-1.1.2.js (c) 2016-2020 Kenji Urushima | kjur.github.com/jsrsasign/license | ||
<span class='line'> 2</span> */</span><span class="WHIT"> | ||
<span class='line'> 3</span> </span><span class="COMM">/* | ||
<span class='line'> 4</span> * asn1ocsp.js - ASN.1 DER encoder classes for OCSP protocol | ||
|
@@ -23,7 +23,7 @@ | |
<span class='line'> 16</span> * @fileOverview | ||
<span class='line'> 17</span> * @name asn1ocsp-1.0.js | ||
<span class='line'> 18</span> * @author Kenji Urushima [email protected] | ||
<span class='line'> 19</span> * @version jsrsasign 9.1.7 asn1ocsp 1.1.1 (2020-Sep-08) | ||
<span class='line'> 19</span> * @version jsrsasign 9.1.8 asn1ocsp 1.1.2 (2020-Sep-08) | ||
<span class='line'> 20</span> * @since jsrsasign 6.1.0 | ||
<span class='line'> 21</span> * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a> | ||
<span class='line'> 22</span> */</span><span class="WHIT"> | ||
|
@@ -520,7 +520,7 @@ | |
<span class='line'>513</span> </span><span class="NAME">this.getEncodedHex</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT"> | ||
<span class='line'>514</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">params</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.params</span><span class="PUNC">;</span><span class="WHIT"> | ||
<span class='line'>515</span> </span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">params.key</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">undefined</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT"> | ||
<span class='line'>516</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">dTag</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">_newObject</span><span class="PUNC">(</span><span class="PUNC">{</span><span class="NAME">tag</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="NAME">tag</span><span class="PUNC">:</span><span class="STRN">"82"</span><span class="PUNC">,</span><span class="WHIT"> | ||
<span class='line'>516</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">dTag</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">_newObject</span><span class="PUNC">(</span><span class="PUNC">{</span><span class="NAME">tag</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="NAME">tag</span><span class="PUNC">:</span><span class="STRN">"a2"</span><span class="PUNC">,</span><span class="WHIT"> | ||
<span class='line'>517</span> </span><span class="WHIT"> </span><span class="NAME">explicit</span><span class="PUNC">:</span><span class="KEYW">true</span><span class="PUNC">,</span><span class="WHIT"> | ||
<span class='line'>518</span> </span><span class="WHIT"> </span><span class="NAME">obj</span><span class="PUNC">:</span><span class="PUNC">{</span><span class="NAME">octstr</span><span class="PUNC">:</span><span class="PUNC">{</span><span class="NAME">hex</span><span class="PUNC">:</span><span class="NAME">params.key</span><span class="PUNC">}</span><span class="PUNC">}</span><span class="PUNC">}</span><span class="PUNC">}</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT"> | ||
<span class='line'>519</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">dTag.getEncodedHex</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT"> | ||
|
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* asn1ocsp-1.1.1.js (c) 2016-2020 Kenji Urushima | kjur.github.com/jsrsasign/license | ||
/* asn1ocsp-1.1.2.js (c) 2016-2020 Kenji Urushima | kjur.github.com/jsrsasign/license | ||
*/ | ||
/* | ||
* asn1ocsp.js - ASN.1 DER encoder classes for OCSP protocol | ||
|
@@ -16,7 +16,7 @@ | |
* @fileOverview | ||
* @name asn1ocsp-1.0.js | ||
* @author Kenji Urushima [email protected] | ||
* @version jsrsasign 9.1.7 asn1ocsp 1.1.1 (2020-Sep-08) | ||
* @version jsrsasign 9.1.8 asn1ocsp 1.1.2 (2020-Sep-08) | ||
* @since jsrsasign 6.1.0 | ||
* @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a> | ||
*/ | ||
|
@@ -513,7 +513,7 @@ KJUR.asn1.ocsp.ResponderID = function(params) { | |
this.getEncodedHex = function() { | ||
var params = this.params; | ||
if (params.key != undefined) { | ||
var dTag = _newObject({tag: {tag:"82", | ||
var dTag = _newObject({tag: {tag:"a2", | ||
explicit:true, | ||
obj:{octstr:{hex:params.key}}}}); | ||
return dTag.getEncodedHex(); | ||
|