1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| 'use strict'
|
| module.exports.withId = [
| 0x30, 0x21, // sequence, 33 bytes
| 0x02, 0x01, 0x02, // message id (integer 2)
| 0x78, 0x1c, // protocol op (0x78), 28 bytes
| 0x0a, 0x01, 0x00, // status code, 0
| 0x04, 0x00, // no matched dn
| 0x04, 0x00, // no diagnostic message
| 0x8b, 0x13, // string response value
| // "u:xxyyz@EXAMPLE.NET"
| 0x75, 0x3a, 0x78, 0x78, 0x79, 0x79, 0x7a, 0x40,
| 0x45, 0x58, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x2e,
| 0x4e, 0x45, 0x54
| ]
|
| module.exports.withoutId = [
| 0x30, 0x0c, // sequence, 12 bytes
| 0x02, 0x01, 0x02, // message id (integer 2)
| 0x78, 0x07, // protocol op (0x78), 7 bytes
| 0x0a, 0x01, 0x00, // status code, 0
| 0x04, 0x00, // no matched dn
| 0x04, 0x00 // no diagnostic message
| ]
|
|