Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README | D | 03-May-2024 | 611 | 16 | 10 | |
obj.c | D | 03-May-2024 | 15.5 KiB | 550 | 384 | |
obj_dat.h | D | 03-May-2024 | 288.6 KiB | 11,586 | 10,638 | |
obj_mac.num | D | 03-May-2024 | 20.5 KiB | 954 | 953 | |
obj_test.cc | D | 03-May-2024 | 7.2 KiB | 200 | 142 | |
obj_xref.c | D | 03-May-2024 | 5.2 KiB | 123 | 53 | |
objects.go | D | 03-May-2024 | 21.4 KiB | 738 | 478 | |
objects.txt | D | 03-May-2024 | 44 KiB | 1,359 | 1,206 |
README
1The files nid.h, obj_mac.num, and obj_dat.h are generated from objects.txt and 2obj_mac.num. To regenerate them, run: 3 4 go run objects.go 5 6objects.txt contains the list of all built-in OIDs. It is processed by 7objects.go to output obj_mac.num, obj_dat.h, and nid.h. 8 9obj_mac.num is the list of NID values for each OID. This is an input/output 10file so NID values are stable across regenerations. 11 12nid.h is the header which defines macros for all the built-in OIDs in C. 13 14obj_dat.h contains the ASN1_OBJECTs corresponding to built-in OIDs themselves 15along with lookup tables for search by short name, OID, etc. 16