2.4.1 RDN_HDR

 The RDN_HDR structure specifies the OAB file format version and the number of RDN records in the RDN Index file, and it contains a hash value for consistency checks and the offset of the root RDN record.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

ulVersion

ulSerial

ulTotRecs

oRoot

ulVersion (4 bytes):  A 32-bit unsigned integer that specifies the file type. This field SHOULD be set to 0x0000000A for uncompressed version 2 RDN Index files.<4> This field SHOULD be set to 0x0000000E for uncompressed version 3 RDN Index files.

ulSerial (4 bytes):  A 32-bit hexadecimal string that specifies the hash of the RDN values for the current set of OAB records. The value of this field is calculated as specified in section 2.3.3.

ulTotRecs (4 bytes):  A 32-bit unsigned integer that specifies the number of RDN2_REC records stored in the RDN Index file.

oRoot (4 bytes):  A 32-bit unsigned integer that specifies the offset of the root RDN2_REC node of the RDN index tree. This record MUST be after the last pdn-record in the file. When parsing pdn-records, use this value to stop parsing pdn-records and start parsing RDN records.