aswi2020vldc-gitlab/templetes/node_modules/asn1.js/lib/asn1/constants/der.js @ 9bb1e829
1 |
var constants = require('../constants'); |
---|---|
2 |
|
3 |
exports.tagClass = { |
4 |
0: 'universal', |
5 |
1: 'application', |
6 |
2: 'context', |
7 |
3: 'private' |
8 |
};
|
9 |
exports.tagClassByName = constants._reverse(exports.tagClass); |
10 |
|
11 |
exports.tag = { |
12 |
0x00: 'end', |
13 |
0x01: 'bool', |
14 |
0x02: 'int', |
15 |
0x03: 'bitstr', |
16 |
0x04: 'octstr', |
17 |
0x05: 'null_', |
18 |
0x06: 'objid', |
19 |
0x07: 'objDesc', |
20 |
0x08: 'external', |
21 |
0x09: 'real', |
22 |
0x0a: 'enum', |
23 |
0x0b: 'embed', |
24 |
0x0c: 'utf8str', |
25 |
0x0d: 'relativeOid', |
26 |
0x10: 'seq', |
27 |
0x11: 'set', |
28 |
0x12: 'numstr', |
29 |
0x13: 'printstr', |
30 |
0x14: 't61str', |
31 |
0x15: 'videostr', |
32 |
0x16: 'ia5str', |
33 |
0x17: 'utctime', |
34 |
0x18: 'gentime', |
35 |
0x19: 'graphstr', |
36 |
0x1a: 'iso646str', |
37 |
0x1b: 'genstr', |
38 |
0x1c: 'unistr', |
39 |
0x1d: 'charstr', |
40 |
0x1e: 'bmpstr' |
41 |
};
|
42 |
exports.tagByName = constants._reverse(exports.tag); |