Skip to content

Commit

Permalink
8.0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Jun 30, 2017
1 parent a7fdf19 commit 42c791e
Show file tree
Hide file tree
Showing 15 changed files with 920 additions and 538 deletions.
12 changes: 12 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@

ChangeLog for jsrsasign

* Changes from 8.0.0 to 8.0.1 (2017-Ju1-01)
- x509 1.1.16 to 1.1.17
- add getExtSubjectAltName2 which supports
GeneralName type
- make getExtSubjectAltName deprecated
- fix getExtCRLDistributionPointsURI() for #269.
caused error if CDP containts directory name.
now fixed.
- getInfo now supports certificatePolicies
- tool/tool_certview.html
- SHA1 fingerprint issue fixed for #273

* Changes from 7.2.2 to 8.0.0 (2017-Jun-30)
- all of deprecated classes, methods and files are
removed.
Expand Down
2 changes: 1 addition & 1 deletion api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ <h2><a href="symbols/src/x509-1.1.js.html">x509-1.1.js</a></h2>


<dt class="heading">Version:</dt>
<dd>jsrsasign 7.2.1 x509 1.1.16 (2017-Jun-23)</dd>
<dd>jsrsasign 8.0.1 x509 1.1.17 (2017-Jun-30)</dd>



Expand Down
84 changes: 81 additions & 3 deletions api/symbols/X509.html
Original file line number Diff line number Diff line change
Expand Up @@ -643,12 +643,23 @@ <h1 class="classTitle">
<td class="nameDescription">
<div class="fixedFont"><b><a href="../symbols/X509.html#getExtSubjectAltName">getExtSubjectAltName</a></b>()
</div>
<div class="description">get subjectAltName value as array of string in the certificate
<div class="description">(DEPRECATED) get subjectAltName value as array of string in the certificate
This method will get subject alt name extension value
as array of name.</div>
</td>
</tr>

<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
<div class="fixedFont"><b><a href="../symbols/X509.html#getExtSubjectAltName2">getExtSubjectAltName2</a></b>()
</div>
<div class="description">get subjectAltName value as array of string in the certificate
This method will get subject alt name extension value
as array of type and name.</div>
</td>
</tr>

<tr>
<td class="attributes">&nbsp;</td>
<td class="nameDescription">
Expand Down Expand Up @@ -1559,7 +1570,7 @@ <h1 class="classTitle">

</div>
<div class="description">
get subjectAltName value as array of string in the certificate
(DEPRECATED) get subjectAltName value as array of string in the certificate
This method will get subject alt name extension value
as array of name.
If there is this in the certificate, it returns undefined;
Expand All @@ -1574,12 +1585,19 @@ <h1 class="classTitle">

<pre class="code">x = new X509();
x.readCertPEM(sCertPEM); // parseExt() will also be called internally.
x.getExtSubjectAltName(hCert) &rarr; ["example.com", "example.org"]</pre>
x.getExtSubjectAltName() &rarr; ["example.com", "example.org"]</pre>





<dl class="detailList">
<dt class="heading">Deprecated:</dt>
<dt>
since jsrsasign 8.0.1 x509 1.1.17. Please move to <a href="../symbols/X509.html#getExtSubjectAltName2">X509#getExtSubjectAltName2</a>
</dt>
</dl>


<dl class="detailList">
<dt class="heading">Since:</dt>
Expand All @@ -1599,6 +1617,66 @@ <h1 class="classTitle">



<hr />

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

<span class="light">{Object}</span>
<b>getExtSubjectAltName2</b>()

</div>
<div class="description">
get subjectAltName value as array of string in the certificate
This method will get subject alt name extension value
as array of type and name.
If there is this in the certificate, it returns undefined;
Type of GeneralName will be shown as following:
<ul>
<li>"MAIL" - [1]rfc822Name</li>
<li>"DNS" - [2]dNSName</li>
<li>"DN" - [4]directoryName</li>
<li>"URI" - [6]uniformResourceIdentifier</li>
<li>"IP" - [7]iPAddress</li>
</ul>


</div>



<pre class="code">x = new X509();
x.readCertPEM(sCertPEM); // parseExt() will also be called internally.
x.getExtSubjectAltName2() &rarr;
[["DNS", "example.com"],
["DNS", "example.org"],
["MAIL", "[email protected]"],
["IP", "192.168.1.1"],
["DN", "/C=US/O=TEST1"]]</pre>






<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>jsrsasign 8.0.1 x509 1.1.17</dd>
</dl>
</dl>



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

<dd><span class="light fixedFont">{Object}</span> array of alt name array</dd>

</dl>




<hr />

<a name="getExtSubjectKeyIdentifier"> </a>
Expand Down
Loading

0 comments on commit 42c791e

Please sign in to comment.