lapo.it Open in urlscan Pro
2a01:4f8:151:1d7::7  Public Scan

Submitted URL: https://lapo.it/asn1js/#MEwwFwYKKwYBBAGCNwIBDzAJAwEAoASiAoAAMDEwDQYJYIZIAWUDBAIBBQAEID147xYruvSc-dweP2lkz9-6aeIO...
Effective URL: https://lapo.it/asn1js/
Submission: On January 17 via manual from SE — Scanned from IT

Form analysis 1 forms found in the DOM

<form>
  <textarea id="area" style="width: 100%;" rows="8"></textarea>
  <br>
  <label title="can be slow with big files"><input type="checkbox" id="wantHex" checked="checked"> with hex dump</label>
  <input id="butDecode" type="button" value="decode">
  <input id="butClear" type="button" value="clear">
  <input type="file" id="file" style="display: block;">
  <div> Examples: <select id="examples">
      <option value="sig-p256-der.p7m">PKCS#7/CMS attached signature (DER)</option>
      <option value="sig-p256-ber.p7m">PKCS#7/CMS attached signature (BER)</option>
      <option value="sig-rsa1024-sha1.p7s">PKCS#7/CMS detached signature (old)</option>
      <option value="letsencrypt-x3.cer">X.509 certificate: Let's Encrypt X3</option>
      <option value="ed25519.cer">X.509 certificate: ed25519 (RFC 8410)</option>
    </select>
    <input id="butExample" type="button" value="load example">
  </div>
</form>

Text Content

ASN.1 JAVASCRIPT DECODER

30 4C 30 17 06 0A 2B 06 01 04 01 82 37 02 01 0F 30 09 03 01 00 A0 04 A2 02 80 00
30 31 30 0D 06 09 60 86 48 01 65 03 04 02 01 05 00 04 20 3D 78 EF 16 2B BA F4 9C
F9 DC 1E 3F 69 64 CF DF BA 69 E2 0E 7E 4A 71 C2 DD 2C 5C 59 03 6F B6 4F
SEQUENCE (2 elem)
Offset: 0
Length: 2+76
(constructed)
Value:
(2 elem)
  SEQUENCE (2 elem)
Offset: 2
Length: 2+23
(constructed)
Value:
(2 elem)
    OBJECT IDENTIFIER 1.3.6.1.4.1.311.2.1.15 spcPEImageData (Microsoft code
signing)
Offset: 4
Length: 2+10
Value:
1.3.6.1.4.1.311.2.1.15
spcPEImageData
Microsoft code signing

    SEQUENCE (2 elem)
Offset: 16
Length: 2+9
(constructed)
Value:
(2 elem)
      BIT STRING (0 bit)
Offset: 18
Length: 2+1
(encapsulates)
Value:
(0 bit)


      [0] (1 elem)
Offset: 21
Length: 2+4
(constructed)
Value:
(1 elem)
        [2] (1 elem)
Offset: 23
Length: 2+2
(constructed)
Value:
(1 elem)
          [0] (0 byte)
Offset: 25
Length: 2+0
Value:
(0 byte)


  SEQUENCE (2 elem)
Offset: 27
Length: 2+49
(constructed)
Value:
(2 elem)
    SEQUENCE (2 elem)
Offset: 29
Length: 2+13
(constructed)
Value:
(2 elem)
      OBJECT IDENTIFIER 2.16.840.1.101.3.4.2.1 sha-256 (NIST Algorithm)
Offset: 31
Length: 2+9
Value:
2.16.840.1.101.3.4.2.1
sha-256
NIST Algorithm

      NULL
Offset: 42
Length: 2+0

    OCTET STRING (32 byte)
3D78EF162BBAF49CF9DC1E3F6964CFDFBA69E20E7E4A71C2DD2C5C59036FB64F
Offset: 44
Length: 2+32
Value:
(32 byte)
3D78EF162BBAF49CF9DC1E3F6964CFDFBA69E20E7E4A71C2DD2C5C59036FB64F


with hex dump
Examples: PKCS#7/CMS attached signature (DER) PKCS#7/CMS attached signature
(BER) PKCS#7/CMS detached signature (old) X.509 certificate: Let's Encrypt X3
X.509 certificate: ed25519 (RFC 8410)


INSTRUCTIONS

This page contains a JavaScript generic ASN.1 parser that can decode any valid
ASN.1 DER or BER structure whether Base64-encoded (raw base64, PEM armoring and
begin-base64 are recognized) or Hex-encoded.

This tool can be used online at the address http://lapo.it/asn1js/ or offline,
unpacking the ZIP file in a directory and opening index.html in a browser

On the left of the page will be printed a tree representing the hierarchical
structure, on the right side an hex dump will be shown.
Hovering on the tree highlights ancestry (the hovered node and all its ancestors
get colored) and the position of the hovered node gets highlighted in the hex
dump (with header and content in a different colors).
Clicking a node in the tree will hide its sub-nodes (collapsed nodes can be
noticed because they will become italic).


COPYRIGHT

ASN.1 JavaScript decoder
Copyright © 2008-2020 Lapo Luchini <lapo@lapo.it>

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.

ASN.1 JavaScript decoder Copyright © 2008-2020 Lapo Luchini; released as
opensource under the ISC license.

OBJECT IDENTIFIER values are recognized using data taken from Peter Gutmann's
dumpasn1 program.


LINKS

 * official website
 * InDefero tracker
 * github mirror
 * Ohloh code stats