Skip to content

Commit

Permalink
4.2.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Apr 18, 2014
1 parent fed896a commit 3884b3f
Show file tree
Hide file tree
Showing 100 changed files with 7,450 additions and 5,356 deletions.
18 changes: 18 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@

ChangeLog for jsrsasign

* Changes between 4.2.1 to 4.2.2 (2014-Apr-19)
- asn1x509 1.0.7 to 1.0.8
- add setSignatureHex method for Certificate class
- modify newCertPEM method to support to specify signature
by value.
- add AuthorityKeyIdentifier X.509v3 extension class
- keyutil 1.0.4 to 1.0.5
- PKCS#10 CSR support. Following methods are added:
- PKCS5PKEY.getKeyFromCSRPEM
- PKCS5PKEY.getKeyFromCSRHex
- PKCS5PKEY.parseCSRHex
- Tool:
- tool_forfact.html:
CSR to fake certificate converter for factorable.net
key weakness check.
- Test codes:
- add test/qunit-do-keyutil-csr.html

* Changes between 4.2.0 to 4.2.1 (2013-Oct-11)
- keyutil 1.0.3 to 1.0.4
- new getPEM method for exporting keys
Expand Down
8 changes: 5 additions & 3 deletions api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ <h2>Classes</h2>

<li><a href="symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down Expand Up @@ -367,7 +369,7 @@ <h2><a href="symbols/src/asn1x509-1.0.js.html">asn1x509-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>1.0.7 (2013-Oct-11)</dd>
<dd>1.0.8 (2014-Apr-16)</dd>



Expand Down Expand Up @@ -474,7 +476,7 @@ <h2><a href="symbols/src/keyutil-1.0.js.html">keyutil-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>keyutil 1.0.4 (2013-Oct-11)</dd>
<dd>keyutil 1.0.5 (2014-Apr-18)</dd>



Expand All @@ -493,7 +495,7 @@ <h2><a href="symbols/src/pkcs5pkey-1.0.js.html">pkcs5pkey-1.0.js</a></h2>


<dt class="heading">Version:</dt>
<dd>pkcs5pkey 1.0.5 (2013-Aug-20)</dd>
<dd>pkcs5pkey 1.0.6 (2014-Apr-16)</dd>



Expand Down
8 changes: 8 additions & 0 deletions api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ <h2>Classes</h2>

<li><a href="symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down Expand Up @@ -498,6 +500,12 @@ <h2><a href="symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.A
</div>
<hr />

<div>
<h2><a href="symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></h2>
AuthorityKeyIdentifier ASN.1 structure class
</div>
<hr />

<div>
<h2><a href="symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></h2>
BasicConstraints ASN.1 structure class
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/ASN1HEX.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/Base64x.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down
184 changes: 184 additions & 0 deletions api/symbols/KEYUTIL.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down Expand Up @@ -478,6 +480,24 @@ <h1 class="classTitle">
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">KEYUTIL.<b><a href="../symbols/KEYUTIL.html#.getKeyFromCSRHex">getKeyFromCSRHex</a></b>(csrHex)
</div>
<div class="description">get RSAKey/DSA/ECDSA public key object from hexadecimal string of PKCS#10 CSR</div>
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">KEYUTIL.<b><a href="../symbols/KEYUTIL.html#.getKeyFromCSRPEM">getKeyFromCSRPEM</a></b>(csrPEM)
</div>
<div class="description">get RSAKey/DSA/ECDSA public key object from PEM formatted PKCS#10 CSR string</div>
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
Expand Down Expand Up @@ -630,6 +650,19 @@ <h1 class="classTitle">
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
<div class="fixedFont">KEYUTIL.<b><a href="../symbols/KEYUTIL.html#.parseCSRHex">parseCSRHex</a></b>(csrHex)
</div>
<div class="description">parse hexadecimal string of PKCS#10 CSR (certificate signing request)
Resulted associative array has following properties:
<ul>
<li>p8pubkeyhex - hexadecimal string of subject public key in PKCS#8</li>
</ul></div>
</td>
</tr>

<tr>
<td class="attributes">&lt;static&gt; &nbsp;</td>
<td class="nameDescription">
Expand Down Expand Up @@ -1330,6 +1363,104 @@ <h1 class="classTitle">



<hr />

<a name=".getKeyFromCSRHex"> </a>
<div class="fixedFont">&lt;static&gt;

<span class="light">{Object}</span>
<span class="light">KEYUTIL.</span><b>getKeyFromCSRHex</b>(csrHex)

</div>
<div class="description">
get RSAKey/DSA/ECDSA public key object from hexadecimal string of PKCS#10 CSR


</div>




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

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

</dt>
<dd>hexadecimal string of PKCS#10 CSR</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>keyutil 1.0.5</dd>
</dl>
</dl>



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

<dd><span class="light fixedFont">{Object}</span> RSAKey/DSA/ECDSA public key object</dd>

</dl>




<hr />

<a name=".getKeyFromCSRPEM"> </a>
<div class="fixedFont">&lt;static&gt;

<span class="light">{Object}</span>
<span class="light">KEYUTIL.</span><b>getKeyFromCSRPEM</b>(csrPEM)

</div>
<div class="description">
get RSAKey/DSA/ECDSA public key object from PEM formatted PKCS#10 CSR string


</div>




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

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

</dt>
<dd>PEM formatted PKCS#10 CSR string</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>keyutil 1.0.5</dd>
</dl>
</dl>



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

<dd><span class="light fixedFont">{Object}</span> RSAKey/DSA/ECDSA public key object</dd>

</dl>




<hr />

<a name=".getKeyFromEncryptedPKCS8PEM"> </a>
Expand Down Expand Up @@ -2245,6 +2376,59 @@ <h1 class="classTitle">



<hr />

<a name=".parseCSRHex"> </a>
<div class="fixedFont">&lt;static&gt;

<span class="light">{Array}</span>
<span class="light">KEYUTIL.</span><b>parseCSRHex</b>(csrHex)

</div>
<div class="description">
parse hexadecimal string of PKCS#10 CSR (certificate signing request)
Resulted associative array has following properties:
<ul>
<li>p8pubkeyhex - hexadecimal string of subject public key in PKCS#8</li>
</ul>


</div>




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

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

</dt>
<dd>hexadecimal string of PKCS#10 CSR</dd>

</dl>



<dl class="detailList">
<dt class="heading">Since:</dt>
<dd>keyutil 1.0.5</dd>
</dl>
</dl>



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

<dd><span class="light fixedFont">{Array}</span> associative array of parsed CSR</dd>

</dl>




<hr />

<a name=".parseHexOfEncryptedPKCS8"> </a>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.ASN1Object.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.ASN1Util.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERAbstractString.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERAbstractStructured.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERAbstractTime.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERBitString.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERBoolean.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down
2 changes: 2 additions & 0 deletions api/symbols/KJUR.asn1.DERGeneralizedTime.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ <h2>Classes</h2>

<li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</a></li>

<li><a href="../symbols/KJUR.asn1.x509.AuthorityKeyIdentifier.html">KJUR.asn1.x509.AuthorityKeyIdentifier</a></li>

<li><a href="../symbols/KJUR.asn1.x509.BasicConstraints.html">KJUR.asn1.x509.BasicConstraints</a></li>

<li><a href="../symbols/KJUR.asn1.x509.Certificate.html">KJUR.asn1.x509.Certificate</a></li>
Expand Down
Loading

0 comments on commit 3884b3f

Please sign in to comment.