Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 
David Benjamin 74c68e5e37 Renegerate OID outputs. 10 år sedan
..
CMakeLists.txt Inital import. 10 år sedan
README Add documentation for the OID scripts. 10 år sedan
obj.c Don't export obj_dat.h. 10 år sedan
obj_dat.h Renegerate OID outputs. 10 år sedan
obj_dat.pl Add documentation for the OID scripts. 10 år sedan
obj_error.c Move public headers to include/openssl/ 10 år sedan
obj_mac.num Restore obj_mac.num from upstream. 10 år sedan
obj_xref.c Inital import. 10 år sedan
obj_xref.h Renegerate OID outputs. 10 år sedan
obj_xref.pl Add documentation for the OID scripts. 10 år sedan
obj_xref.txt Inital import. 10 år sedan
objects.pl Keep the obj_mac.h license header round-tripping. 10 år sedan
objects.txt Inital import. 10 år sedan

README

OID information is generated via a series of perl scripts. In order, the full
list of commands to run are:

perl objects.pl objects.txt obj_mac.num ../../include/openssl/obj_mac.h
perl obj_dat.pl ../../include/openssl/obj_mac.h obj_dat.h
perl obj_xref.pl obj_mac.num obj_xref.txt > obj_xref.h

objects.txt contains the list of all built-in OIDs. It is processed by
objects.pl to output obj_mac.num and obj_mac.h. obj_mac.num is the list of NID
values for each OID. This is an input/output parameter so NID values are stable
across regenerations. obj_mac.h is the header which defines macros for all the
built-in OIDs in C.

obj_mac.h is read by obj_dat.pl to generate obj_dat.h. obj_dat.h contains the
ASN1_OBJECTs corresponding to built-in OIDs themselves along with lookup tables
for search by short name, OID, etc.

obj_mac.num and obj_xref.txt are read by obj_xref.pl to generate
obj_xref.h. obj_xref.txt links signature OIDs to corresponding public key
algorithms and digests. obj_xref.h contains lookup tables for querying this
information in both directions.

Dependency graph:

objects.txt
|
V
[objects.pl] <--+
/ \ |
V V |
obj_mac.h obj_mac.num obj_xref.txt
| \ /
V V V
[obj_dat.pl] [obj_xref.pl]
| |
V V
obj_dat.h obj_xref.h