directory-kerby mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng, Kai" <kai.zh...@intel.com>
Subject FW: [jira] [Created] (DIRKRB-485) Provide an ASN1 dumping tool for troubleshooting
Date Wed, 02 Dec 2015 15:14:27 GMT
Hi,

Any suggestion for this? Below is my initial output, simple and short data will be appended
for each item, long data will be sampled.
The offsets are only useful for debugging and will not show by default. Thanks.

SEQUENCE[tag=48, body=[2, 1511]]
  OBJECT IDENTIFIER[tag=6, body=[4, 13]]
  [0][tag=160, body=[15, 1509]]
    SEQUENCE[tag=48, body=[17, 1505]]
      INTEGER[tag=2, body=[19, 20]]
      SET[tag=49, body=[22, 33]]
        SEQUENCE[tag=48, body=[24, 33]]
          OBJECT IDENTIFIER[tag=6, body=[26, 31]]
          NULL[tag=5, body=[33, 33]]
      SEQUENCE[tag=48, body=[35, 70]]
        OBJECT IDENTIFIER[tag=6, body=[37, 46]]
        [0][tag=160, body=[48, 68]]
          OCTET STRING[tag=36, body=[50, 66]]
            OCTET STRING[tag=4, body=[52, 64]]
      [0][tag=160, body=[74, 1196]]
        SEQUENCE[tag=48, body=[78, 603]]
          SEQUENCE[tag=48, body=[82, 456]]
            [0][tag=160, body=[84, 87]]
              INTEGER[tag=2, body=[86, 87]]
            INTEGER[tag=2, body=[89, 90]]
            SEQUENCE[tag=48, body=[92, 105]]
              OBJECT IDENTIFIER[tag=6, body=[94, 103]]
              NULL[tag=5, body=[105, 105]]
            SEQUENCE[tag=48, body=[107, 144]]
              SET[tag=49, body=[109, 131]]
                SEQUENCE[tag=48, body=[111, 131]]
                  OBJECT IDENTIFIER[tag=6, body=[113, 116]]
                  PRINTABLE STRING[tag=19, body=[118, 131]]
              SET[tag=49, body=[133, 144]]
                SEQUENCE[tag=48, body=[135, 144]]
                  OBJECT IDENTIFIER[tag=6, body=[137, 140]]
                  PRINTABLE STRING[tag=19, body=[142, 144]]
            SEQUENCE[tag=48, body=[146, 176]]
              UTC TIME[tag=23, body=[148, 161]]
              UTC TIME[tag=23, body=[163, 176]]
            SEQUENCE[tag=48, body=[178, 215]]
              SET[tag=49, body=[180, 202]]
                SEQUENCE[tag=48, body=[182, 202]]
                  OBJECT IDENTIFIER[tag=6, body=[184, 187]]
                  PRINTABLE STRING[tag=19, body=[189, 202]]
              SET[tag=49, body=[204, 215]]
                SEQUENCE[tag=48, body=[206, 215]]
                  OBJECT IDENTIFIER[tag=6, body=[208, 211]]
                  PRINTABLE STRING[tag=19, body=[213, 215]]
            SEQUENCE[tag=48, body=[218, 377]]
              SEQUENCE[tag=48, body=[220, 233]]
                OBJECT IDENTIFIER[tag=6, body=[222, 231]]
                NULL[tag=5, body=[233, 233]]
              BIT STRING[tag=3, body=[236, 377]]
            [3][tag=163, body=[379, 456]]
              SEQUENCE[tag=48, body=[381, 456]]
                SEQUENCE[tag=48, body=[383, 412]]
                  OBJECT IDENTIFIER[tag=6, body=[385, 388]]
                  OCTET STRING[tag=4, body=[390, 412]]
                SEQUENCE[tag=48, body=[414, 445]]
                  OBJECT IDENTIFIER[tag=6, body=[416, 419]]
                  OCTET STRING[tag=4, body=[421, 445]]
                SEQUENCE[tag=48, body=[447, 456]]
                  OBJECT IDENTIFIER[tag=6, body=[449, 452]]
                  OCTET STRING[tag=4, body=[454, 456]]
          SEQUENCE[tag=48, body=[458, 471]]
            OBJECT IDENTIFIER[tag=6, body=[460, 469]]
            NULL[tag=5, body=[471, 471]]
          BIT STRING[tag=3, body=[474, 603]]
        SEQUENCE[tag=48, body=[607, 1196]]
          SEQUENCE[tag=48, body=[611, 1049]]
            [0][tag=160, body=[613, 616]]
              INTEGER[tag=2, body=[615, 616]]
            INTEGER[tag=2, body=[618, 619]]
            SEQUENCE[tag=48, body=[621, 634]]
              OBJECT IDENTIFIER[tag=6, body=[623, 632]]
              NULL[tag=5, body=[634, 634]]
            SEQUENCE[tag=48, body=[636, 673]]
              SET[tag=49, body=[638, 660]]
                SEQUENCE[tag=48, body=[640, 660]]
                  OBJECT IDENTIFIER[tag=6, body=[642, 645]]
                  PRINTABLE STRING[tag=19, body=[647, 660]]
              SET[tag=49, body=[662, 673]]
                SEQUENCE[tag=48, body=[664, 673]]
                  OBJECT IDENTIFIER[tag=6, body=[666, 669]]
                  PRINTABLE STRING[tag=19, body=[671, 673]]
            SEQUENCE[tag=48, body=[675, 705]]
              UTC TIME[tag=23, body=[677, 690]]
              UTC TIME[tag=23, body=[692, 705]]
            SEQUENCE[tag=48, body=[707, 808]]
              SET[tag=49, body=[709, 733]]
                SEQUENCE[tag=48, body=[711, 733]]
                  OBJECT IDENTIFIER[tag=6, body=[713, 716]]
                  PRINTABLE STRING[tag=19, body=[718, 733]]
              SET[tag=49, body=[735, 771]]
                SEQUENCE[tag=48, body=[737, 771]]
                  OBJECT IDENTIFIER[tag=6, body=[739, 748]]
                  IA5 STRING[tag=22, body=[750, 771]]
              SET[tag=49, body=[773, 795]]
                SEQUENCE[tag=48, body=[775, 795]]
                  OBJECT IDENTIFIER[tag=6, body=[777, 780]]
                  PRINTABLE STRING[tag=19, body=[782, 795]]
              SET[tag=49, body=[797, 808]]
                SEQUENCE[tag=48, body=[799, 808]]
                  OBJECT IDENTIFIER[tag=6, body=[801, 804]]
                  PRINTABLE STRING[tag=19, body=[806, 808]]
            SEQUENCE[tag=48, body=[811, 970]]
              SEQUENCE[tag=48, body=[813, 826]]
                OBJECT IDENTIFIER[tag=6, body=[815, 824]]
                NULL[tag=5, body=[826, 826]]
              BIT STRING[tag=3, body=[829, 970]]
            [3][tag=163, body=[972, 1049]]
              SEQUENCE[tag=48, body=[974, 1049]]
                SEQUENCE[tag=48, body=[976, 1005]]
                  OBJECT IDENTIFIER[tag=6, body=[978, 981]]
                  OCTET STRING[tag=4, body=[983, 1005]]
                SEQUENCE[tag=48, body=[1007, 1038]]
                  OBJECT IDENTIFIER[tag=6, body=[1009, 1012]]
                  OCTET STRING[tag=4, body=[1014, 1038]]
                SEQUENCE[tag=48, body=[1040, 1049]]
                  OBJECT IDENTIFIER[tag=6, body=[1042, 1045]]
                  OCTET STRING[tag=4, body=[1047, 1049]]
          SEQUENCE[tag=48, body=[1051, 1064]]
            OBJECT IDENTIFIER[tag=6, body=[1053, 1062]]
            NULL[tag=5, body=[1064, 1064]]
          BIT STRING[tag=3, body=[1067, 1196]]
      SET[tag=49, body=[1200, 1503]]
        SEQUENCE[tag=48, body=[1204, 1503]]
          INTEGER[tag=2, body=[1206, 1207]]
          SEQUENCE[tag=48, body=[1209, 1251]]
            SEQUENCE[tag=48, body=[1211, 1248]]
              SET[tag=49, body=[1213, 1235]]
                SEQUENCE[tag=48, body=[1215, 1235]]
                  OBJECT IDENTIFIER[tag=6, body=[1217, 1220]]
                  PRINTABLE STRING[tag=19, body=[1222, 1235]]
              SET[tag=49, body=[1237, 1248]]
                SEQUENCE[tag=48, body=[1239, 1248]]
                  OBJECT IDENTIFIER[tag=6, body=[1241, 1244]]
                  PRINTABLE STRING[tag=19, body=[1246, 1248]]
            INTEGER[tag=2, body=[1250, 1251]]
          SEQUENCE[tag=48, body=[1253, 1262]]
            OBJECT IDENTIFIER[tag=6, body=[1255, 1260]]
            NULL[tag=5, body=[1262, 1262]]
          [0][tag=160, body=[1264, 1357]]
            SEQUENCE[tag=48, body=[1266, 1290]]
              OBJECT IDENTIFIER[tag=6, body=[1268, 1277]]
              SET[tag=49, body=[1279, 1290]]
                OBJECT IDENTIFIER[tag=6, body=[1281, 1290]]
            SEQUENCE[tag=48, body=[1292, 1320]]
              OBJECT IDENTIFIER[tag=6, body=[1294, 1303]]
              SET[tag=49, body=[1305, 1320]]
                UTC TIME[tag=23, body=[1307, 1320]]
            SEQUENCE[tag=48, body=[1322, 1357]]
              OBJECT IDENTIFIER[tag=6, body=[1324, 1333]]
              SET[tag=49, body=[1335, 1357]]
                OCTET STRING[tag=4, body=[1337, 1357]]
          SEQUENCE[tag=48, body=[1359, 1372]]
            OBJECT IDENTIFIER[tag=6, body=[1361, 1370]]
            NULL[tag=5, body=[1372, 1372]]
          OCTET STRING[tag=4, body=[1375, 1503]]

-----Original Message-----
From: Kai Zheng (JIRA) [mailto:jira@apache.org] 
Sent: Wednesday, December 02, 2015 10:41 PM
To: dev@directory.apache.org
Subject: [jira] [Created] (DIRKRB-485) Provide an ASN1 dumping tool for troubleshooting

Kai Zheng created DIRKRB-485:
--------------------------------

             Summary: Provide an ASN1 dumping tool for troubleshooting
                 Key: DIRKRB-485
                 URL: https://issues.apache.org/jira/browse/DIRKRB-485
             Project: Directory Kerberos
          Issue Type: Improvement
            Reporter: Kai Zheng
            Assignee: Kai Zheng


This will provide a workable and useful ASN1 dumping tool to help analyze ASN1 encoding stream
or packet. It can be used to exercise the framework with all kinds of testing binary inputs.
The output should look pretty and informative.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Mime
View raw message