Why convert BDOB to CBOR?
The .bdob format is defined by ADatP-4778 as the CBOR-based variant of a Binding Data Object - a binary alternative to the XML .BDO. Since it is literally stored as Concise Binary Object Representation, there is no meaningful .bdob-to-.cbor transformation, only a change of filename or label.
How to convert BDOB to CBOR
Rename the file FREE
Copy object.bdob to object.cbor. The bytes are unchanged because .bdob already uses the CBOR encoding.
Read it with a CBOR library OPEN-SOURCE
Point any CBOR parser (Python cbor2, JavaScript cbor, or cbor.io tools) at the .bdob file - it decodes directly with no conversion step.
Decode to JSON with cbor2diag OPEN-SOURCE
If you want a readable view, run a CBOR-to-diagnostic/JSON tool on the .bdob to inspect the structure without altering the original file.
About these formats
A .bdob file is a NATO Binary Binding Data Object: a small binary record that binds metadata, usually a confidentiality label, to a data object. It is defined by the NATO Metadata Binding…
Open .BDOB details →A .CBOR file is a data file used by specific software.
Open .CBOR details →Quality & what to watch
.bdoband a generic.cborfile are the same encoding; only the NATO-specific MIME type and intended use differ.- Renaming to
.cbordiscards the ADatP-4778 context, so downstream systems may no longer recognise it as a Binding Data Object. - Because it is binary, a
.bdobwon't open usefully in a text editor - use a CBOR-aware tool to see its contents.
Frequently asked questions
Isn't .bdob just CBOR already?
application/vnd.nato.bindingdataobject+cbor.