21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
certObj.hex = BAtohex(new Uint8Array(cert.certificate));
html += "\t<li>";
html += "\t\t" + certObj.getSubjectString() + ":" + certObj.getSerialNumberHex();
html += "\t\t<ol type=\"a\">";
html += "\t\t\t<li>Serial Number: " + certObj.getSerialNumberHex() + "</li>";
html += "\t\t\t<li>Usage: " + X509.getExtKeyUsageString(certObj.hex) + "</li>";
html += "\t\t</ol>";
html += "\t</li>";
}
html += "</ol>";
delete certObj;
|
>
|
>
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
certObj.hex = BAtohex(new Uint8Array(cert.certificate));
html += "\t<li>";
html += "\t\t" + certObj.getSubjectString() + ":" + certObj.getSerialNumberHex();
html += "\t\t<ol type=\"a\">";
html += "\t\t\t<li>Serial Number: " + certObj.getSerialNumberHex() + "</li>";
try {
html += "\t\t\t<li>Usage: " + X509.getExtKeyUsageString(certObj.hex) + "</li>";
} catch (_) {};
html += "\t\t</ol>";
html += "\t</li>";
}
html += "</ol>";
delete certObj;
|