Name | Date | Size | |
---|---|---|---|
.. | 10-Aug-2018 | 4 KiB | |
CMakeLists.txt | 10-Aug-2018 | 89 | |
obj.c | 10-Aug-2018 | 15.6 KiB | |
obj_dat.h | 10-Aug-2018 | 267.1 KiB | |
obj_mac.num | 10-Aug-2018 | 20.4 KiB | |
obj_test.cc | 10-Aug-2018 | 7.2 KiB | |
obj_xref.c | 10-Aug-2018 | 5.2 KiB | |
objects.go | 10-Aug-2018 | 21.2 KiB | |
objects.txt | 10-Aug-2018 | 43.9 KiB | |
README | 10-Aug-2018 | 611 |
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