Skip to content
Browse files

4.1.2 release

  • Loading branch information...
1 parent e776ce1 commit b5d719d69adc66fafcb89cab7a46d02c36413bd3 @kjur committed Sep 12, 2013
Showing with 3,334 additions and 1,357 deletions.
  1. +5 −0 ChangeLog.txt
  2. +1 −1 README.md
  3. +3 −1 api/files.html
  4. +8 −0 api/index.html
  5. +16 −0 api/symbols/ASN1HEX.html
  6. +2 −0 api/symbols/Base64x.html
  7. +2 −0 api/symbols/KJUR.asn1.ASN1Object.html
  8. +606 −0 api/symbols/KJUR.asn1.ASN1Util.html
  9. +2 −0 api/symbols/KJUR.asn1.DERAbstractString.html
  10. +2 −0 api/symbols/KJUR.asn1.DERAbstractStructured.html
  11. +2 −0 api/symbols/KJUR.asn1.DERAbstractTime.html
  12. +2 −0 api/symbols/KJUR.asn1.DERBitString.html
  13. +2 −0 api/symbols/KJUR.asn1.DERBoolean.html
  14. +2 −0 api/symbols/KJUR.asn1.DERGeneralizedTime.html
  15. +2 −0 api/symbols/KJUR.asn1.DERIA5String.html
  16. +8 −0 api/symbols/KJUR.asn1.DERInteger.html
  17. +2 −0 api/symbols/KJUR.asn1.DERNull.html
  18. +2 −0 api/symbols/KJUR.asn1.DERNumericString.html
  19. +2 −0 api/symbols/KJUR.asn1.DERObjectIdentifier.html
  20. +2 −0 api/symbols/KJUR.asn1.DEROctetString.html
  21. +2 −0 api/symbols/KJUR.asn1.DERPrintableString.html
  22. +2 −0 api/symbols/KJUR.asn1.DERSequence.html
  23. +2 −0 api/symbols/KJUR.asn1.DERSet.html
  24. +2 −0 api/symbols/KJUR.asn1.DERTaggedObject.html
  25. +2 −0 api/symbols/KJUR.asn1.DERTeletexString.html
  26. +4 −2 api/symbols/KJUR.asn1.DERUTCTime.html
  27. +2 −0 api/symbols/KJUR.asn1.DERUTF8String.html
  28. +17 −70 api/symbols/KJUR.asn1.html
  29. +2 −0 api/symbols/KJUR.asn1.x509.AlgorithmIdentifier.html
  30. +2 −0 api/symbols/KJUR.asn1.x509.AttributeTypeAndValue.html
  31. +2 −0 api/symbols/KJUR.asn1.x509.BasicConstraints.html
  32. +2 −0 api/symbols/KJUR.asn1.x509.CRL.html
  33. +2 −0 api/symbols/KJUR.asn1.x509.CRLDistributionPoints.html
  34. +2 −0 api/symbols/KJUR.asn1.x509.CRLEntry.html
  35. +2 −0 api/symbols/KJUR.asn1.x509.Certificate.html
  36. +2 −0 api/symbols/KJUR.asn1.x509.DistributionPoint.html
  37. +2 −0 api/symbols/KJUR.asn1.x509.DistributionPointName.html
  38. +2 −0 api/symbols/KJUR.asn1.x509.ExtKeyUsage.html
  39. +2 −0 api/symbols/KJUR.asn1.x509.Extension.html
  40. +2 −0 api/symbols/KJUR.asn1.x509.GeneralName.html
  41. +2 −0 api/symbols/KJUR.asn1.x509.GeneralNames.html
  42. +2 −0 api/symbols/KJUR.asn1.x509.KeyUsage.html
  43. +2 −0 api/symbols/KJUR.asn1.x509.OID.html
  44. +2 −0 api/symbols/KJUR.asn1.x509.RDN.html
  45. +2 −0 api/symbols/KJUR.asn1.x509.SubjectPublicKeyInfo.html
  46. +2 −0 api/symbols/KJUR.asn1.x509.TBSCertList.html
  47. +2 −0 api/symbols/KJUR.asn1.x509.TBSCertificate.html
  48. +2 −0 api/symbols/KJUR.asn1.x509.Time.html
  49. +2 −0 api/symbols/KJUR.asn1.x509.X500Name.html
  50. +2 −0 api/symbols/KJUR.asn1.x509.html
  51. +2 −0 api/symbols/KJUR.crypto.ECDSA.html
  52. +2 −0 api/symbols/KJUR.crypto.ECParameterDB.html
  53. +2 −0 api/symbols/KJUR.crypto.Mac.html
  54. +2 −0 api/symbols/KJUR.crypto.MessageDigest.html
  55. +2 −0 api/symbols/KJUR.crypto.OID.html
  56. +2 −0 api/symbols/KJUR.crypto.Signature.html
  57. +2 −0 api/symbols/KJUR.crypto.Util.html
  58. +2 −0 api/symbols/KJUR.crypto.html
  59. +2 −0 api/symbols/KJUR.html
  60. +2 −0 api/symbols/PKCS5PKEY.html
  61. +2 −0 api/symbols/RSAKey.html
  62. +2 −0 api/symbols/X509.html
  63. +2 −0 api/symbols/global__.html
  64. +1,152 −1,036 api/symbols/src/asn1-1.0.js.html
  65. +56 −44 api/symbols/src/asn1hex-1.1.js.html
  66. +111 −104 api/symbols/src/asn1x509-1.0.js.html
  67. +141 −25 asn1-1.0.js
  68. +2 −2 asn1-1.0.min.js
  69. +15 −3 asn1hex-1.1.js
  70. +10 −3 asn1x509-1.0.js
  71. +1 −1 asn1x509-1.0.min.js
  72. +65 −0 ext/THIRDPARTY_LICENSE.tomwu.txt
  73. +0 −65 ext/THIRDPARTY_LICENSE.txt
  74. +3 −0 ext/base64-min.js
  75. +2 −0 ext/base64.js
  76. +3 −0 ext/ec-min.js
  77. +3 −0 ext/ec-patch-min.js
  78. +209 −0 ext/ec-patch.js
  79. +318 −0 ext/ec.js
  80. +3 −0 ext/jsbn-min.js
  81. +2 −0 ext/jsbn.js
  82. +3 −0 ext/jsbn2-min.js
  83. +2 −0 ext/jsbn2.js
  84. +3 −0 ext/prng4-min.js
  85. +2 −0 ext/prng4.js
  86. +3 −0 ext/rng-min.js
  87. +2 −0 ext/rng.js
  88. +3 −0 ext/rsa-min.js
  89. +2 −0 ext/rsa.js
  90. +3 −0 ext/rsa2-min.js
  91. +2 −0 ext/rsa2.js
  92. +23 −0 jsrsasign-4.1.1-all-min.js
  93. +246 −0 jsrsasign-4.1.2-all-min.js
  94. +168 −0 test/qunit-do-asn1-newobj.html
View
5 ChangeLog.txt
@@ -1,6 +1,11 @@
ChangeLog for jsrsasign
+* Changes between 4.1.1 to 4.1.2 (2013-Sep-12)
+ - asn1 1.0.2 to 1.0.3
+ - new method ASN1Util.newObject added.
+ - all in one script 'jsrsasign-4.1.2-all-min.js' added.
+
* Changes between 4.1.0 to 4.1.1 (2013-Aug-27)
- crypto 1.1.3 to 1.1.4
- add hmacmd5, hmacripemd160 support and test code
View
2 README.md
@@ -1,7 +1,7 @@
jsrsasign
=========
-The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free RSA/ECDSA signing/validation, ASN.1, PKCS#5/8 private key X.509 certificate and CRL library in pure JavaScript.
+The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptographic library which supports RSA/RSAPSS/ECDSA signing/validation, ASN.1, PKCS#5/8 private key X.509 certificate and CRL library in pure JavaScript.
Public page is http://kjur.github.com/jsrsasign .
View
4 api/files.html
@@ -198,6 +198,8 @@
<li><a href="symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
@@ -321,7 +323,7 @@ <h1 class="classTitle">File Index</h1>
<dt class="heading">Version:</dt>
- <dd>1.0.2 (2013-May-30)</dd>
+ <dd>asn1 1.0.3 (2013-Sep-12)</dd>
View
8 api/index.html
@@ -198,6 +198,8 @@
<li><a href="symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
@@ -347,6 +349,12 @@ <h1 class="classTitle">Class Index</h1>
<hr />
<div>
+ <h2><a href="symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></h2>
+ ASN1 utilities class
+ </div>
+ <hr />
+
+ <div>
<h2><a href="symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></h2>
base class for ASN.1 DER string classes
</div>
View
16 api/symbols/ASN1HEX.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
@@ -719,6 +721,20 @@ <h1 class="classTitle">
+ <pre class="code">The "nthList" is a index list of structured ASN.1 object
+reference. Here is a sample structure and "nthList"s which
+refers each objects.
+
+SQUENCE - [0]
+ SEQUENCE - [0, 0]
+ IA5STRING 000 - [0, 0, 0]
+ UTF8STRING 001 - [0, 0, 1]
+ SET - [0, 1]
+ IA5STRING 010 - [0, 1, 0]
+ UTF8STRING 011 - [0, 1, 1]</pre>
+
+
+
<dl class="detailList">
<dt class="heading">Parameters:</dt>
View
2 api/symbols/Base64x.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.ASN1Object.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
606 api/symbols/KJUR.asn1.ASN1Util.html
@@ -0,0 +1,606 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <meta name="generator" content="JsDoc Toolkit" />
+
+ <title>jsrsasign 4.0.0 JavaScript API Reference - KJUR.asn1.ASN1Util</title>
+
+ <style type="text/css">
+ /* default.css */
+body
+{
+ font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+ width: 800px;
+}
+
+.header
+{
+ clear: both;
+ background-color: #ccc;
+ padding: 8px;
+}
+
+h1
+{
+ font-size: 150%;
+ font-weight: bold;
+ padding: 0;
+ margin: 1em 0 0 .3em;
+}
+
+hr
+{
+ border: none 0;
+ border-top: 1px solid #7F8FB1;
+ height: 1px;
+}
+
+pre.code
+{
+ display: block;
+ padding: 8px;
+ border: 1px dashed #ccc;
+}
+
+#index
+{
+ margin-top: 24px;
+ float: left;
+ width: 160px;
+ position: absolute;
+ left: 8px;
+ background-color: #F3F3F3;
+ padding: 8px;
+}
+
+#content
+{
+ margin-left: 190px;
+ width: 600px;
+}
+
+.classList
+{
+ list-style-type: none;
+ padding: 0;
+ margin: 0 0 0 8px;
+ font-family: arial, sans-serif;
+ font-size: 1em;
+ overflow: auto;
+}
+
+.classList li
+{
+ padding: 0;
+ margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+ font-size:170%;
+ line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+ background-color: #7F8FB1;
+ color: #fff;
+ font-size:130%;
+ text-align: left;
+ padding: 2px 6px 2px 6px;
+ border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+ vertical-align: top;
+ padding: 4px;
+ border-bottom: 1px #7F8FB1 solid;
+ border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+ border-left: 1px #7F8FB1 solid;
+ width: 140px;
+ text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+ line-height: 15px;
+ color: #002EBE;
+ font-family: "Courier New",Courier,monospace;
+ font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+ text-align: left;
+ font-size: 13px;
+ line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+ line-height: 15px;
+ padding: 4px;
+ padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+ list-style: square;
+ margin-left: 20px;
+ padding-left: 0;
+}
+
+.detailList {
+ margin-left: 20px;
+ line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+ font-weight: bold;
+ padding-bottom: 6px;
+ margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+ color: #777;
+ font-style: italic;
+}
+
+.fineprint
+{
+ text-align: right;
+ font-size: 10px;
+}
+ </style>
+ </head>
+
+ <body>
+<!-- ============================== header ================================= -->
+ <!-- begin static/header.html -->
+ <div id="header" style="background: #7F8FB1; color: white; margin: -10px">
+&nbsp; <b><a href="http://kjur.github.com/jsrsasign/" style="color: white">jsrsasign</a></b> 4.0.0 JavaScript API Reference
+</div>
+
+ <!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+ <div id="index">
+ <!-- begin publish.classesIndex -->
+ <div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+
+ <li><i><a href="../symbols/global__.html">global__</a></i></li>
+
+ <li><a href="../symbols/ASN1HEX.html">ASN1HEX</a></li>
+
+ <li><a href="../symbols/Base64x.html">Base64x</a></li>
+
+ <li><a href="../symbols/KJUR.html">KJUR</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.html">KJUR.asn1</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERAbstractTime.html">KJUR.asn1.DERAbstractTime</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERBitString.html">KJUR.asn1.DERBitString</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERBoolean.html">KJUR.asn1.DERBoolean</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERGeneralizedTime.html">KJUR.asn1.DERGeneralizedTime</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERIA5String.html">KJUR.asn1.DERIA5String</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERInteger.html">KJUR.asn1.DERInteger</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERNull.html">KJUR.asn1.DERNull</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERNumericString.html">KJUR.asn1.DERNumericString</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERObjectIdentifier.html">KJUR.asn1.DERObjectIdentifier</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DEROctetString.html">KJUR.asn1.DEROctetString</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERPrintableString.html">KJUR.asn1.DERPrintableString</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERSequence.html">KJUR.asn1.DERSequence</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERSet.html">KJUR.asn1.DERSet</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERTaggedObject.html">KJUR.asn1.DERTaggedObject</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERTeletexString.html">KJUR.asn1.DERTeletexString</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERUTCTime.html">KJUR.asn1.DERUTCTime</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.DERUTF8String.html">KJUR.asn1.DERUTF8String</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.html">KJUR.asn1.x509</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.AlgorithmIdentifier.html">KJUR.asn1.x509.AlgorithmIdentifier</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.AttributeTypeAndValue.html">KJUR.asn1.x509.AttributeTypeAndValue</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>
+
+ <li><a href="../symbols/KJUR.asn1.x509.CRL.html">KJUR.asn1.x509.CRL</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.CRLDistributionPoints.html">KJUR.asn1.x509.CRLDistributionPoints</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.CRLEntry.html">KJUR.asn1.x509.CRLEntry</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.DistributionPoint.html">KJUR.asn1.x509.DistributionPoint</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.DistributionPointName.html">KJUR.asn1.x509.DistributionPointName</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.Extension.html">KJUR.asn1.x509.Extension</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.ExtKeyUsage.html">KJUR.asn1.x509.ExtKeyUsage</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.GeneralName.html">KJUR.asn1.x509.GeneralName</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.GeneralNames.html">KJUR.asn1.x509.GeneralNames</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.KeyUsage.html">KJUR.asn1.x509.KeyUsage</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.OID.html">KJUR.asn1.x509.OID</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.RDN.html">KJUR.asn1.x509.RDN</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.SubjectPublicKeyInfo.html">KJUR.asn1.x509.SubjectPublicKeyInfo</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.TBSCertificate.html">KJUR.asn1.x509.TBSCertificate</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.TBSCertList.html">KJUR.asn1.x509.TBSCertList</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.Time.html">KJUR.asn1.x509.Time</a></li>
+
+ <li><a href="../symbols/KJUR.asn1.x509.X500Name.html">KJUR.asn1.x509.X500Name</a></li>
+
+ <li><a href="../symbols/KJUR.crypto.html">KJUR.crypto</a></li>
+
+ <li><a href="../symbols/KJUR.crypto.ECDSA.html">KJUR.crypto.ECDSA</a></li>
+
+ <li><a href="../symbols/KJUR.crypto.ECParameterDB.html">KJUR.crypto.ECParameterDB</a></li>
+
+ <li><a href="../symbols/KJUR.crypto.Mac.html">KJUR.crypto.Mac</a></li>
+
+ <li><a href="../symbols/KJUR.crypto.MessageDigest.html">KJUR.crypto.MessageDigest</a></li>
+
+ <li><a href="../symbols/KJUR.crypto.OID.html">KJUR.crypto.OID</a></li>
+
+ <li><a href="../symbols/KJUR.crypto.Signature.html">KJUR.crypto.Signature</a></li>
+
+ <li><a href="../symbols/KJUR.crypto.Util.html">KJUR.crypto.Util</a></li>
+
+ <li><a href="../symbols/PKCS5PKEY.html">PKCS5PKEY</a></li>
+
+ <li><a href="../symbols/RSAKey.html">RSAKey</a></li>
+
+ <li><a href="../symbols/X509.html">X509</a></li>
+
+</ul>
+<hr />
+ <!-- end publish.classesIndex -->
+ </div>
+
+ <div id="content">
+<!-- ============================== class title ============================ -->
+ <h1 class="classTitle">
+
+ Class KJUR.asn1.ASN1Util
+ </h1>
+
+<!-- ============================== class summary ========================== -->
+ <p class="description">
+
+
+
+ ASN1 utilities class
+
+
+ <br /><i>Defined in: </i> <a href="../symbols/src/asn1-1.0.js.html">asn1-1.0.js</a>.
+
+ </p>
+
+<!-- ============================== constructor summary ==================== -->
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class KJUR.asn1.ASN1Util.">
+ <caption>Class Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Constructor Attributes</th>
+ <th scope="col">Constructor Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td class="attributes">&nbsp;</td>
+ <td class="nameDescription" >
+ <div class="fixedFont">
+ <b><a href="../symbols/KJUR.asn1.ASN1Util.html#constructor">KJUR.asn1.ASN1Util</a></b>()
+ </div>
+ <div class="description">ASN1 utilities class</div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+
+<!-- ============================== properties summary ===================== -->
+
+
+<!-- ============================== methods summary ======================== -->
+
+
+
+ <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class KJUR.asn1.ASN1Util.">
+ <caption>Method Summary</caption>
+ <thead>
+ <tr>
+ <th scope="col">Method Attributes</th>
+ <th scope="col">Method Name and Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont">KJUR.asn1.ASN1Util.<b><a href="../symbols/KJUR.asn1.ASN1Util.html#.getPEMStringFromHex">getPEMStringFromHex</a></b>(dataHex, pemHeader)
+ </div>
+ <div class="description">get PEM string from hexadecimal data and header string
+</div>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
+ <td class="nameDescription">
+ <div class="fixedFont">KJUR.asn1.ASN1Util.<b><a href="../symbols/KJUR.asn1.ASN1Util.html#.newObject">newObject</a></b>(param)
+ </div>
+ <div class="description">generate ASN1Object specifed by parameters
+generate any ASN1Object specified by param
+including ASN.1 primitive or structured.</div>
+ </td>
+ </tr>
+
+ </tbody>
+ </table>
+
+
+
+
+<!-- ============================== events summary ======================== -->
+
+
+<!-- ============================== constructor details ==================== -->
+
+ <div class="details"><a name="constructor"> </a>
+ <div class="sectionTitle">
+ Class Detail
+ </div>
+
+ <div class="fixedFont">
+ <b>KJUR.asn1.ASN1Util</b>()
+ </div>
+
+ <div class="description">
+ ASN1 utilities class
+
+ </div>
+
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Since:</dt>
+ <dd>asn1 1.0.2</dd>
+ </dl>
+
+
+
+
+
+
+ </div>
+
+
+<!-- ============================== field details ========================== -->
+
+
+<!-- ============================== method details ========================= -->
+
+ <div class="sectionTitle">
+ Method Detail
+ </div>
+
+ <a name=".getPEMStringFromHex"> </a>
+ <div class="fixedFont">&lt;static&gt;
+
+ <span class="light">{String}</span>
+ <span class="light">KJUR.asn1.ASN1Util.</span><b>getPEMStringFromHex</b>(dataHex, pemHeader)
+
+ </div>
+ <div class="description">
+ get PEM string from hexadecimal data and header string
+
+
+
+ </div>
+
+
+
+ <pre class="code">var pem = KJUR.asn1.ASN1Util.getPEMStringFromHex('616161', 'RSA PRIVATE KEY');
+// value of pem will be:
+-----BEGIN PRIVATE KEY-----
+YWFh
+-----END PRIVATE KEY-----</pre>
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="light fixedFont">{String}</span> <b>dataHex</b>
+
+ </dt>
+ <dd>hexadecimal string of PEM body</dd>
+
+ <dt>
+ <span class="light fixedFont">{String}</span> <b>pemHeader</b>
+
+ </dt>
+ <dd>PEM header string (ex. 'RSA PRIVATE KEY')</dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="light fixedFont">{String}</span> PEM formatted string of input data</dd>
+
+ </dl>
+
+
+
+
+ <hr />
+
+ <a name=".newObject"> </a>
+ <div class="fixedFont">&lt;static&gt;
+
+ <span class="light">{<a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a>}</span>
+ <span class="light">KJUR.asn1.ASN1Util.</span><b>newObject</b>(param)
+
+ </div>
+ <div class="description">
+ generate ASN1Object specifed by parameters
+generate any ASN1Object specified by param
+including ASN.1 primitive or structured.
+Generally 'param' can be described as follows:
+<blockquote>
+{TYPE-OF-ASNOBJ: ASN1OBJ-PARAMETER}
+</blockquote>
+'TYPE-OF-ASN1OBJ' can be one of following symbols:
+<ul>
+<li>'bool' - DERBoolean</li>
+<li>'int' - DERInteger</li>
+<li>'bitstr' - DERBitString</li>
+<li>'octstr' - DEROctetString</li>
+<li>'null' - DERNull</li>
+<li>'oid' - DERObjectIdentifier</li>
+<li>'utf8str' - DERUTF8String</li>
+<li>'numstr' - DERNumericString</li>
+<li>'prnstr' - DERPrintableString</li>
+<li>'telstr' - DERTeletexString</li>
+<li>'ia5str' - DERIA5String</li>
+<li>'utctime' - DERUTCTime</li>
+<li>'gentime' - DERGeneralizedTime</li>
+<li>'seq' - DERSequence</li>
+<li>'set' - DERSet</li>
+<li>'tag' - DERTaggedObject</li>
+</ul>
+
+
+ </div>
+
+
+
+ <pre class="code">newObject({'prnstr': 'aaa'});
+newObject({'seq': [{'int': 3}, {'prnstr': 'aaa'}]})
+newObject({'tag': {'tag': 'a1',
+ 'obj': {'seq': [{'int': 3}, {'prnstr': 'aaa'}]}}});</pre>
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="light fixedFont">{Array}</span> <b>param</b>
+
+ </dt>
+ <dd>parameter to generate ASN1Object</dd>
+
+ </dl>
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Since:</dt>
+ <dd>asn1 1.0.3</dd>
+ </dl>
+ </dl>
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="light fixedFont">{<a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a>}</span> generated object</dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+<!-- ============================== event details ========================= -->
+
+
+ <hr />
+ </div>
+
+
+<!-- ============================== footer ================================= -->
+ <div class="fineprint" style="clear:both">
+ &copy; 2012 Kenji Urushima, All rights reserved<br/>
+
+ Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0
+ </div>
+ </body>
+</html>
View
2 api/symbols/KJUR.asn1.DERAbstractString.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERAbstractStructured.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERAbstractTime.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERBitString.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERBoolean.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERGeneralizedTime.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERIA5String.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
8 api/symbols/KJUR.asn1.DERInteger.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
@@ -573,6 +575,12 @@ <h1 class="classTitle">
+ <pre class="code">new KJUR.asn1.DERInteger(123);
+new KJUR.asn1.DERInteger({'int': 123});
+new KJUR.asn1.DERInteger({'hex': '1fad'});</pre>
+
+
+
<dl class="detailList">
<dt class="heading">Parameters:</dt>
View
2 api/symbols/KJUR.asn1.DERNull.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERNumericString.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERObjectIdentifier.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DEROctetString.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERPrintableString.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERSequence.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERSet.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERTaggedObject.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.DERTeletexString.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
6 api/symbols/KJUR.asn1.DERUTCTime.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
@@ -442,8 +444,8 @@ <h1 class="classTitle">
d1.setString('130430125959Z');
var d2 = new KJUR.asn1.DERUTCTime({'str': '130430125959Z'});
-
-var d3 = new KJUR.asn1.DERUTCTime({'date': new Date(Date.UTC(2015, 0, 31, 0, 0, 0, 0))});</pre>
+var d3 = new KJUR.asn1.DERUTCTime({'date': new Date(Date.UTC(2015, 0, 31, 0, 0, 0, 0))});
+var d4 = new KJUR.asn1.DERUTCTime('130430125959Z');</pre>
View
2 api/symbols/KJUR.asn1.DERUTF8String.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
87 api/symbols/KJUR.asn1.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
@@ -364,29 +366,6 @@ <h1 class="classTitle">
- <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class KJUR.asn1.">
- <caption>Field Summary</caption>
- <thead>
- <tr>
- <th scope="col">Field Attributes</th>
- <th scope="col">Field Name and Description</th>
- </tr>
- </thead>
- <tbody>
-
- <tr>
- <td class="attributes">&lt;static&gt; &nbsp;</td>
- <td class="nameDescription">
- <div class="fixedFont">
- KJUR.asn1.<b><a href="../symbols/KJUR.asn1.html#.ASN1Util">ASN1Util</a></b>
- </div>
- <div class="description">ASN1 utilities class</div>
- </td>
- </tr>
-
- </tbody>
- </table>
-
@@ -481,21 +460,21 @@ <h1 class="classTitle">
<h4>PROVIDING ASN.1 PRIMITIVES</h4>
Here are ASN.1 DER primitive classes.
<ul>
-<li><a href="../symbols/KJUR.asn1.DERBoolean.html">KJUR.asn1.DERBoolean</a></li>
-<li><a href="../symbols/KJUR.asn1.DERInteger.html">KJUR.asn1.DERInteger</a></li>
-<li><a href="../symbols/KJUR.asn1.DERBitString.html">KJUR.asn1.DERBitString</a></li>
-<li><a href="../symbols/KJUR.asn1.DEROctetString.html">KJUR.asn1.DEROctetString</a></li>
-<li><a href="../symbols/KJUR.asn1.DERNull.html">KJUR.asn1.DERNull</a></li>
-<li><a href="../symbols/KJUR.asn1.DERObjectIdentifier.html">KJUR.asn1.DERObjectIdentifier</a></li>
-<li><a href="../symbols/KJUR.asn1.DERUTF8String.html">KJUR.asn1.DERUTF8String</a></li>
-<li><a href="../symbols/KJUR.asn1.DERNumericString.html">KJUR.asn1.DERNumericString</a></li>
-<li><a href="../symbols/KJUR.asn1.DERPrintableString.html">KJUR.asn1.DERPrintableString</a></li>
-<li><a href="../symbols/KJUR.asn1.DERTeletexString.html">KJUR.asn1.DERTeletexString</a></li>
-<li><a href="../symbols/KJUR.asn1.DERIA5String.html">KJUR.asn1.DERIA5String</a></li>
-<li><a href="../symbols/KJUR.asn1.DERUTCTime.html">KJUR.asn1.DERUTCTime</a></li>
-<li><a href="../symbols/KJUR.asn1.DERGeneralizedTime.html">KJUR.asn1.DERGeneralizedTime</a></li>
-<li><a href="../symbols/KJUR.asn1.DERSequence.html">KJUR.asn1.DERSequence</a></li>
-<li><a href="../symbols/KJUR.asn1.DERSet.html">KJUR.asn1.DERSet</a></li>
+<li>0x01 <a href="../symbols/KJUR.asn1.DERBoolean.html">KJUR.asn1.DERBoolean</a></li>
+<li>0x02 <a href="../symbols/KJUR.asn1.DERInteger.html">KJUR.asn1.DERInteger</a></li>
+<li>0x03 <a href="../symbols/KJUR.asn1.DERBitString.html">KJUR.asn1.DERBitString</a></li>
+<li>0x04 <a href="../symbols/KJUR.asn1.DEROctetString.html">KJUR.asn1.DEROctetString</a></li>
+<li>0x05 <a href="../symbols/KJUR.asn1.DERNull.html">KJUR.asn1.DERNull</a></li>
+<li>0x06 <a href="../symbols/KJUR.asn1.DERObjectIdentifier.html">KJUR.asn1.DERObjectIdentifier</a></li>
+<li>0x0c <a href="../symbols/KJUR.asn1.DERUTF8String.html">KJUR.asn1.DERUTF8String</a></li>
+<li>0x12 <a href="../symbols/KJUR.asn1.DERNumericString.html">KJUR.asn1.DERNumericString</a></li>
+<li>0x13 <a href="../symbols/KJUR.asn1.DERPrintableString.html">KJUR.asn1.DERPrintableString</a></li>
+<li>0x14 <a href="../symbols/KJUR.asn1.DERTeletexString.html">KJUR.asn1.DERTeletexString</a></li>
+<li>0x16 <a href="../symbols/KJUR.asn1.DERIA5String.html">KJUR.asn1.DERIA5String</a></li>
+<li>0x17 <a href="../symbols/KJUR.asn1.DERUTCTime.html">KJUR.asn1.DERUTCTime</a></li>
+<li>0x18 <a href="../symbols/KJUR.asn1.DERGeneralizedTime.html">KJUR.asn1.DERGeneralizedTime</a></li>
+<li>0x30 <a href="../symbols/KJUR.asn1.DERSequence.html">KJUR.asn1.DERSequence</a></li>
+<li>0x31 <a href="../symbols/KJUR.asn1.DERSet.html">KJUR.asn1.DERSet</a></li>
</ul>
<h4>OTHER ASN.1 CLASSES</h4>
@@ -527,38 +506,6 @@ <h1 class="classTitle">
<!-- ============================== field details ========================== -->
- <div class="sectionTitle">
- Field Detail
- </div>
-
- <a name=".ASN1Util"> </a>
- <div class="fixedFont">&lt;static&gt;
-
-
- <span class="light">KJUR.asn1.</span><b>ASN1Util</b>
-
- </div>
- <div class="description">
- ASN1 utilities class
-
-
- </div>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Since:</dt>
- <dd>asn1 1.0.2</dd>
- </dl>
-
-
-
-
-
-
-
<!-- ============================== method details ========================= -->
View
2 api/symbols/KJUR.asn1.x509.AlgorithmIdentifier.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.AttributeTypeAndValue.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.BasicConstraints.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.CRL.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.CRLDistributionPoints.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.CRLEntry.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.Certificate.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.DistributionPoint.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.DistributionPointName.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.ExtKeyUsage.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.Extension.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.GeneralName.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.GeneralNames.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.KeyUsage.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.OID.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.RDN.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.SubjectPublicKeyInfo.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.TBSCertList.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.TBSCertificate.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.Time.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.X500Name.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.asn1.x509.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.crypto.ECDSA.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.crypto.ECParameterDB.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.crypto.Mac.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.crypto.MessageDigest.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.crypto.OID.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.crypto.Signature.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.crypto.Util.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.crypto.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/KJUR.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/PKCS5PKEY.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/RSAKey.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/X509.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2 api/symbols/global__.html
@@ -203,6 +203,8 @@
<li><a href="../symbols/KJUR.asn1.ASN1Object.html">KJUR.asn1.ASN1Object</a></li>
+ <li><a href="../symbols/KJUR.asn1.ASN1Util.html">KJUR.asn1.ASN1Util</a></li>
+
<li><a href="../symbols/KJUR.asn1.DERAbstractString.html">KJUR.asn1.DERAbstractString</a></li>
<li><a href="../symbols/KJUR.asn1.DERAbstractStructured.html">KJUR.asn1.DERAbstractStructured</a></li>
View
2,188 api/symbols/src/asn1-1.0.js.html
1,152 additions, 1,036 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
100 api/symbols/src/asn1hex-1.1.js.html
@@ -228,47 +228,59 @@
<span class='line'>221</span> * @param {Array of Number} nthList array list of nth
<span class='line'>222</span> * @return {Number} string index refered by nthList
<span class='line'>223</span> * @since 1.1
-<span class='line'>224</span> */</span><span class="WHIT">
-<span class='line'>225</span> </span><span class="WHIT"> </span><span class="NAME">this.getDecendantIndexByNthList</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
-<span class='line'>226</span> </span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">nthList.length</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
-<span class='line'>227</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>228</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT">
-<span class='line'>229</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">firstNth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">nthList.shift</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>230</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">a</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getPosArrayOfChildren_AtObj</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>231</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.getDecendantIndexByNthList</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">a</span><span class="PUNC">[</span><span class="NAME">firstNth</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>232</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>233</span>
-<span class='line'>234</span> </span><span class="WHIT"> </span><span class="COMM">/**
-<span class='line'>235</span> * get hexadecimal string of ASN.1 TLV refered by current index and nth index list.
-<span class='line'>236</span> * @name getDecendantHexTLVByNthList
-<span class='line'>237</span> * @memberOf ASN1HEX
-<span class='line'>238</span> * @function
-<span class='line'>239</span> * @param {String} h hexadecimal string of ASN.1 DER encoded data
-<span class='line'>240</span> * @param {Number} currentIndex start string index of ASN.1 object
-<span class='line'>241</span> * @param {Array of Number} nthList array list of nth
-<span class='line'>242</span> * @return {Number} hexadecimal string of ASN.1 TLV refered by nthList
-<span class='line'>243</span> * @since 1.1
-<span class='line'>244</span> */</span><span class="WHIT">
-<span class='line'>245</span> </span><span class="WHIT"> </span><span class="NAME">this.getDecendantHexTLVByNthList</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
-<span class='line'>246</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">idx</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getDecendantIndexByNthList</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>247</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.getHexOfTLV_AtObj</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">idx</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>248</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>249</span>
-<span class='line'>250</span> </span><span class="WHIT"> </span><span class="COMM">/**
-<span class='line'>251</span> * get hexadecimal string of ASN.1 V refered by current index and nth index list.
-<span class='line'>252</span> * @name getDecendantHexVByNthList
-<span class='line'>253</span> * @memberOf ASN1HEX
-<span class='line'>254</span> * @function
-<span class='line'>255</span> * @param {String} h hexadecimal string of ASN.1 DER encoded data
-<span class='line'>256</span> * @param {Number} currentIndex start string index of ASN.1 object
-<span class='line'>257</span> * @param {Array of Number} nthList array list of nth
-<span class='line'>258</span> * @return {Number} hexadecimal string of ASN.1 V refered by nthList
-<span class='line'>259</span> * @since 1.1
-<span class='line'>260</span> */</span><span class="WHIT">
-<span class='line'>261</span> </span><span class="WHIT"> </span><span class="NAME">this.getDecendantHexVByNthList</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
-<span class='line'>262</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">idx</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getDecendantIndexByNthList</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>263</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.getHexOfV_AtObj</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">idx</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>264</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>265</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
-<span class='line'>266</span>
-<span class='line'>267</span> </span></pre></body></html>
+<span class='line'>224</span> * @example
+<span class='line'>225</span> * The "nthList" is a index list of structured ASN.1 object
+<span class='line'>226</span> * reference. Here is a sample structure and "nthList"s which
+<span class='line'>227</span> * refers each objects.
+<span class='line'>228</span> *
+<span class='line'>229</span> * SQUENCE - [0]
+<span class='line'>230</span> * SEQUENCE - [0, 0]
+<span class='line'>231</span> * IA5STRING 000 - [0, 0, 0]
+<span class='line'>232</span> * UTF8STRING 001 - [0, 0, 1]
+<span class='line'>233</span> * SET - [0, 1]
+<span class='line'>234</span> * IA5STRING 010 - [0, 1, 0]
+<span class='line'>235</span> * UTF8STRING 011 - [0, 1, 1]
+<span class='line'>236</span> */</span><span class="WHIT">
+<span class='line'>237</span> </span><span class="WHIT"> </span><span class="NAME">this.getDecendantIndexByNthList</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>238</span> </span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">nthList.length</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>239</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>240</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>241</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">firstNth</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">nthList.shift</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>242</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">a</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getPosArrayOfChildren_AtObj</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>243</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.getDecendantIndexByNthList</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">a</span><span class="PUNC">[</span><span class="NAME">firstNth</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>244</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>245</span>
+<span class='line'>246</span> </span><span class="WHIT"> </span><span class="COMM">/**
+<span class='line'>247</span> * get hexadecimal string of ASN.1 TLV refered by current index and nth index list.
+<span class='line'>248</span> * @name getDecendantHexTLVByNthList
+<span class='line'>249</span> * @memberOf ASN1HEX
+<span class='line'>250</span> * @function
+<span class='line'>251</span> * @param {String} h hexadecimal string of ASN.1 DER encoded data
+<span class='line'>252</span> * @param {Number} currentIndex start string index of ASN.1 object
+<span class='line'>253</span> * @param {Array of Number} nthList array list of nth
+<span class='line'>254</span> * @return {Number} hexadecimal string of ASN.1 TLV refered by nthList
+<span class='line'>255</span> * @since 1.1
+<span class='line'>256</span> */</span><span class="WHIT">
+<span class='line'>257</span> </span><span class="WHIT"> </span><span class="NAME">this.getDecendantHexTLVByNthList</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>258</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">idx</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getDecendantIndexByNthList</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>259</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.getHexOfTLV_AtObj</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">idx</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>260</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>261</span>
+<span class='line'>262</span> </span><span class="WHIT"> </span><span class="COMM">/**
+<span class='line'>263</span> * get hexadecimal string of ASN.1 V refered by current index and nth index list.
+<span class='line'>264</span> * @name getDecendantHexVByNthList
+<span class='line'>265</span> * @memberOf ASN1HEX
+<span class='line'>266</span> * @function
+<span class='line'>267</span> * @param {String} h hexadecimal string of ASN.1 DER encoded data
+<span class='line'>268</span> * @param {Number} currentIndex start string index of ASN.1 object
+<span class='line'>269</span> * @param {Array of Number} nthList array list of nth
+<span class='line'>270</span> * @return {Number} hexadecimal string of ASN.1 V refered by nthList
+<span class='line'>271</span> * @since 1.1
+<span class='line'>272</span> */</span><span class="WHIT">
+<span class='line'>273</span> </span><span class="WHIT"> </span><span class="NAME">this.getDecendantHexVByNthList</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>274</span> </span><span class="WHIT"> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">idx</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getDecendantIndexByNthList</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">currentIndex</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">nthList</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>275</span> </span><span class="WHIT"> </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.getHexOfV_AtObj</span><span class="PUNC">(</span><span class="NAME">h</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">idx</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>276</span> </span><span class="WHIT"> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>277</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>278</span>
+<span class='line'>279</span> </span></pre></body></html>
View
215 api/symbols/src/asn1x509-1.0.js.html
@@ -1464,108 +1464,115 @@
<span class='line'>1457</span> </span><span class="WHIT"> </span><span class="STRN">'rsaEncryption'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'1.2.840.113549.1.1.1'</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'>1458</span> </span><span class="WHIT"> </span><span class="STRN">'subjectKeyIdentifier'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.29.14'</span><span class="PUNC">,</span><span class="WHIT">
<span class='line'>1459</span>
-<span class='line'>1460</span> </span><span class="WHIT"> </span><span class="STRN">'keyUsage'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.29.15'</span><span class="PUNC">,</span><span class="WHIT">
-<span class='line'>1461</span> </span><span class="WHIT"> </span><span class="STRN">'basicConstraints'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.29.19'</span><span class="PUNC">,</span><span class="WHIT">
-<span class='line'>1462</span> </span><span class="WHIT"> </span><span class="STRN">'cRLDistributionPoints'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.29.31'</span><span class="PUNC">,</span><span class="WHIT">
-<span class='line'>1463</span> </span><span class="WHIT"> </span><span class="STRN">'certificatePolicies'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.29.32'</span><span class="PUNC">,</span><span class="WHIT">
-<span class='line'>1464</span> </span><span class="WHIT"> </span><span class="STRN">'authorityKeyIdentifier'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.29.35'</span><span class="PUNC">,</span><span class="WHIT">
-<span class='line'>1465</span> </span><span class="WHIT"> </span><span class="STRN">'extKeyUsage'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.29.37'</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1460</span> </span><span class="WHIT"> </span><span class="STRN">'countryName'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.4.6'</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1461</span> </span><span class="WHIT"> </span><span class="STRN">'organization'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.4.10'</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1462</span> </span><span class="WHIT"> </span><span class="STRN">'organizationalUnit'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.4.11'</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1463</span> </span><span class="WHIT"> </span><span class="STRN">'stateOrProvinceName'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.5.4.8'</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1464</span> </span><span class="WHIT"> </span><span class="STRN">'locality'</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">'2.