1#
2# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# This code is free software; you can redistribute it and/or modify it
6# under the terms of the GNU General Public License version 2 only, as
7# published by the Free Software Foundation.
8#
9# This code is distributed in the hope that it will be useful, but WITHOUT
10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12# version 2 for more details (a copy is included in the LICENSE file that
13# accompanied this code).
14#
15# You should have received a copy of the GNU General Public License version
16# 2 along with this work; if not, write to the Free Software Foundation,
17# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18#
19# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20# or visit www.oracle.com if you need additional information or have any
21# questions.
22#
23
24################################################################################
25# Capture file for ReadByUrl.java
26#
27# NOTE: This hexadecimal dump of LDAP protocol messages was generated by
28#       running the ReadByUrl application program against a real LDAP
29#       server and setting the JNDI/LDAP environment property:
30#       com.sun.jndi.ldap.trace.ber to activate LDAP message tracing.
31#
32#      (The ASN.1 annotations were generated separately by the dumpasn1
33#       utility and added only for clarity.)
34#
35################################################################################
36
37# LDAP BindRequest:
38#
39#   0   12: SEQUENCE {
40#   2    1:   INTEGER 1
41#   5    7:   [APPLICATION 0] {
42#   7    1:     INTEGER 3
43#  10    0:     OCTET STRING
44#  12    0:     [0]
45#         :     }
46#         :   }
47#
480000: 30 0C 02 01 01 60 07 02   01 03 04 00 80 00        0....`........
49
50# LDAP BindResponse:
51#
52#   0   12: SEQUENCE {
53#   2    1:   INTEGER 1
54#   5    7:   [APPLICATION 1] {
55#   7    1:     ENUMERATED 0
56#  10    0:     OCTET STRING
57#  12    0:     OCTET STRING
58#         :     }
59#         :   }
60#
610000: 30 0C 02 01 01 61 07 0A   01 00 04 00 04 00        0....a........
62
63# LDAP SearchRequest:
64#
65#   0   88: SEQUENCE {
66#   2    1:   INTEGER 2
67#   5   54:   [APPLICATION 3] {
68#   7   22:     OCTET STRING 'dc=ie,dc=oracle,dc=com'
69#  31    1:     ENUMERATED 0
70#  34    1:     ENUMERATED 3
71#  37    1:     INTEGER 0
72#  40    1:     INTEGER 0
73#  43    1:     BOOLEAN FALSE
74#  46   11:     [7] 'objectClass'
75#  59    0:     SEQUENCE {}
76#         :     }
77#  61   27:   [0] {
78#  63   25:     SEQUENCE {
79#  65   23:       OCTET STRING '2.16.840.1.113730.3.4.2'
80#         :       }
81#         :     }
82#         :   }
830000: 30 58 02 01 02 63 36 04   16 64 63 3D 69 65 2C 64  0X...c6..dc=ie,d
840010: 63 3D 6F 72 61 63 6C 65   2C 64 63 3D 63 6F 6D 0A  c=oracle,dc=com.
850020: 01 00 0A 01 03 02 01 00   02 01 00 01 01 00 87 0B  ................
860030: 6F 62 6A 65 63 74 43 6C   61 73 73 30 00 A0 1B 30  objectClass0...0
870040: 19 04 17 32 2E 31 36 2E   38 34 30 2E 31 2E 31 31  ...2.16.840.1.11
880050: 33 37 33 30 2E 33 2E 34   2E 32                    3730.3.4.2
89
90# LDAP SearchResultEntry:
91#
92#   0  111: SEQUENCE {
93#   2    1:   INTEGER 2
94#   5  106:   [APPLICATION 4] {
95#   7   22:     OCTET STRING 'dc=ie,dc=oracle,dc=com'
96#  31   80:     SEQUENCE {
97#  33   44:       SEQUENCE {
98#  35   11:         OCTET STRING 'objectClass'
99#  48   29:         SET {
100#  50    3:           OCTET STRING 'top'
101#  55    8:           OCTET STRING 'dcObject'
102#  65   12:           OCTET STRING 'organization'
103#         :           }
104#         :         }
105#  79   20:       SEQUENCE {
106#  81    1:         OCTET STRING 6F
107#  84   15:         SET {
108#  86   13:           OCTET STRING 'ie.oracle.com'
109#         :           }
110#         :         }
111# 101   10:       SEQUENCE {
112# 103    2:         OCTET STRING 64 63
113# 107    4:         SET {
114# 109    2:           OCTET STRING 69 65
115#         :           }
116#         :         }
117#         :       }
118#         :     }
119#         :   }
120#
1210000: 30 6F 02 01 02 64 6A 04   16 64 63 3D 69 65 2C 64  0o...dj..dc=ie,d
1220010: 63 3D 6F 72 61 63 6C 65   2C 64 63 3D 63 6F 6D 30  c=oracle,dc=com0
1230020: 50 30 2C 04 0B 6F 62 6A   65 63 74 43 6C 61 73 73  P0,..objectClass
1240030: 31 1D 04 03 74 6F 70 04   08 64 63 4F 62 6A 65 63  1...top..dcObjec
1250040: 74 04 0C 6F 72 67 61 6E   69 7A 61 74 69 6F 6E 30  t..organization0
1260050: 14 04 01 6F 31 0F 04 0D   69 65 2E 6F 72 61 63 6C  ...o1...ie.oracl
1270060: 65 2E 63 6F 6D 30 0A 04   02 64 63 31 04 04 02 69  e.com0...dc1...i
1280070: 65                                                 e
129
130# LDAP SearchResultDone:
131#
132#   0   12: SEQUENCE {
133#   2    1:   INTEGER 2
134#   5    7:   [APPLICATION 5] {
135#   7    1:     ENUMERATED 0
136#  10    0:     OCTET STRING
137#  12    0:     OCTET STRING
138#         :     }
139#         :   }
140#
1410000: 30 0C 02 01 02 65 07 0A   01 00 04 00 04 00        0....e........
142
143# LDAP UnbindRequest:
144#
145#   0   34: SEQUENCE {
146#   2    1:   INTEGER 3
147#   5    0:   [APPLICATION 2]
148#   7   27:   [0] {
149#   9   25:     SEQUENCE {
150#  11   23:       OCTET STRING '2.16.840.1.113730.3.4.2'
151#         :       }
152#         :     }
153#         :   }
154#
1550000: 30 22 02 01 03 42 00 A0   1B 30 19 04 17 32 2E 31  0"...B...0...2.1
1560010: 36 2E 38 34 30 2E 31 2E   31 31 33 37 33 30 2E 33  6.840.1.113730.3
1570020: 2E 34 2E 32                                        .4.2
158
159