Skip to content

Commit

Permalink
7.1.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Apr 16, 2017
1 parent eb1cf7b commit 14300f4
Show file tree
Hide file tree
Showing 17 changed files with 837 additions and 415 deletions.
10 changes: 10 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@

ChangeLog for jsrsasign

* Changes from 7.1.2 to 7.1.3 (2017-Apr-15)
- jsrsasign-latest-all-min.js was moved to
jsrsasign-all-min.js in master.
In gh-page, both are provided for backword
compatibity.
- base64x 1.1.8 to 1.1.9
- zuluto{date,msec,int} are added
- jws 3.3.5 to 3.3.6
- modified IntDate.getZulu to use zulutosec;

* Changes from 7.1.1 to 7.1.2 (2017-Mar-20)
- CRITICAL BUG FIX: KJUR.asn1.x509.AlgorithmIdentifier
default was wrong in algorithm parameter field.
Expand Down
4 changes: 2 additions & 2 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ <h2><a href="symbols/src/base64x-1.1.js.html">base64x-1.1.js</a></h2>


<dt class="heading">Version:</dt>
<dd>asn1 1.1.8 (2016-Oct-16)</dd>
<dd>asn1 1.1.9 (2017-Apr-08)</dd>



Expand Down Expand Up @@ -690,7 +690,7 @@ <h2><a href="symbols/src/jws-3.3.js.html">jws-3.3.js</a></h2>


<dt class="heading">Version:</dt>
<dd>3.3.5 (2016-Oct-08)</dd>
<dd>3.3.6 (2017-Apr-15)</dd>



Expand Down
226 changes: 226 additions & 0 deletions api/symbols/global__.html
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,36 @@ <h1 class="classTitle">
</td>
</tr>

<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
<div class="fixedFont"><b><a href="../symbols/global__.html#zulutodate">zulutodate</a></b>(s)
</div>
<div class="description">GeneralizedTime or UTCTime string to Date object<br>
This function converts from GeneralizedTime string (i.e.</div>
</td>
</tr>

<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
<div class="fixedFont"><b><a href="../symbols/global__.html#zulutomsec">zulutomsec</a></b>(s)
</div>
<div class="description">GeneralizedTime or UTCTime string to milliseconds from Unix origin<br>
This function converts from GeneralizedTime string (i.e.</div>
</td>
</tr>

<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
<div class="fixedFont"><b><a href="../symbols/global__.html#zulutosec">zulutosec</a></b>(s)
</div>
<div class="description">GeneralizedTime or UTCTime string to seconds from Unix origin<br>
This function converts from GeneralizedTime string (i.e.</div>
</td>
</tr>

</tbody>
</table>

Expand Down Expand Up @@ -2677,6 +2707,202 @@ <h1 class="classTitle">



<hr />

<a name="zulutodate"> </a>
<div class="fixedFont">

<span class="light">{Date}</span>
<b>zulutodate</b>(s)

</div>
<div class="description">
GeneralizedTime or UTCTime string to Date object<br>
This function converts from GeneralizedTime string (i.e. YYYYMMDDHHmmSSZ) or
UTCTime string (i.e. YYMMDDHHmmSSZ) to Date object.
Argument string may have fraction of seconds and
its length is one or more digits such as "20170410235959.1234567Z".
As for UTCTime, if year "YY" is equal or less than 49 then it is 20YY.
If year "YY" is equal or greater than 50 then it is 19YY.

<br />
<i>Defined in: </i> <a href="../symbols/src/base64x-1.1.js.html">base64x-1.1.js</a>.


</div>



<pre class="code">zulutodate( "071231235959Z").toUTCString() &rarr; "Mon, 31 Dec 2007 23:59:59 GMT"
zulutodate( "071231235959.1Z").toUTCString() &rarr; "Mon, 31 Dec 2007 23:59:59 GMT"
zulutodate("20071231235959Z").toUTCString() &rarr; "Mon, 31 Dec 2007 23:59:59 GMT"
zulutodate( "071231235959.34").getMilliseconds() &rarr; 340</pre>




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

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

</dt>
<dd>GeneralizedTime or UTCTime string (ex. 20170412235959.384Z)</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>jsrsasign 7.1.3 base64x 1.1.9</dd>
</dl>
</dl>



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

<dd><span class="light fixedFont">{Date}</span> Date object for specified time</dd>

</dl>




<hr />

<a name="zulutomsec"> </a>
<div class="fixedFont">

<span class="light">{Number}</span>
<b>zulutomsec</b>(s)

</div>
<div class="description">
GeneralizedTime or UTCTime string to milliseconds from Unix origin<br>
This function converts from GeneralizedTime string (i.e. YYYYMMDDHHmmSSZ) or
UTCTime string (i.e. YYMMDDHHmmSSZ) to milliseconds from Unix origin time
(i.e. Jan 1 1970 0:00:00 UTC).
Argument string may have fraction of seconds and
its length is one or more digits such as "20170410235959.1234567Z".
As for UTCTime, if year "YY" is equal or less than 49 then it is 20YY.
If year "YY" is equal or greater than 50 then it is 19YY.

<br />
<i>Defined in: </i> <a href="../symbols/src/base64x-1.1.js.html">base64x-1.1.js</a>.


</div>



<pre class="code">zulutomsec( "071231235959Z") &rarr; 1199145599000 #Mon, 31 Dec 2007 23:59:59 GMT
zulutomsec( "071231235959.1Z") &rarr; 1199145599100 #Mon, 31 Dec 2007 23:59:59 GMT
zulutomsec( "071231235959.12345Z") &rarr; 1199145599123 #Mon, 31 Dec 2007 23:59:59 GMT
zulutomsec("20071231235959Z") &rarr; 1199145599000 #Mon, 31 Dec 2007 23:59:59 GMT
zulutomsec( "931231235959Z") &rarr; -410227201000 #Mon, 31 Dec 1956 23:59:59 GMT</pre>




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

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

</dt>
<dd>GeneralizedTime or UTCTime string (ex. 20170412235959.384Z)</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>jsrsasign 7.1.3 base64x 1.1.9</dd>
</dl>
</dl>



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

<dd><span class="light fixedFont">{Number}</span> milliseconds from Unix origin time (i.e. Jan 1, 1970 0:00:00 UTC)</dd>

</dl>




<hr />

<a name="zulutosec"> </a>
<div class="fixedFont">

<span class="light">{Number}</span>
<b>zulutosec</b>(s)

</div>
<div class="description">
GeneralizedTime or UTCTime string to seconds from Unix origin<br>
This function converts from GeneralizedTime string (i.e. YYYYMMDDHHmmSSZ) or
UTCTime string (i.e. YYMMDDHHmmSSZ) to seconds from Unix origin time
(i.e. Jan 1 1970 0:00:00 UTC). Argument string may have fraction of seconds
however result value will be omitted.
As for UTCTime, if year "YY" is equal or less than 49 then it is 20YY.
If year "YY" is equal or greater than 50 then it is 19YY.

<br />
<i>Defined in: </i> <a href="../symbols/src/base64x-1.1.js.html">base64x-1.1.js</a>.


</div>



<pre class="code">zulutosec( "071231235959Z") &rarr; 1199145599 #Mon, 31 Dec 2007 23:59:59 GMT
zulutosec( "071231235959.1Z") &rarr; 1199145599 #Mon, 31 Dec 2007 23:59:59 GMT
zulutosec("20071231235959Z") &rarr; 1199145599 #Mon, 31 Dec 2007 23:59:59 GMT</pre>




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

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

</dt>
<dd>GeneralizedTime or UTCTime string (ex. 20170412235959.384Z)</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>jsrsasign 7.1.3 base64x 1.1.9</dd>
</dl>
</dl>



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

<dd><span class="light fixedFont">{Number}</span> seconds from Unix origin time (i.e. Jan 1, 1970 0:00:00 UTC)</dd>

</dl>







Expand Down
Loading

0 comments on commit 14300f4

Please sign in to comment.