Generating the 2 D barcode is easy. I just read out a code I got from EY for my recent ticket to India and generated the code for a sample fictional booking in PDF417 format used for the 2D code:
https://barcode.tec-it.com/en/PDF417...20%20%20%20%20
The text in the code is
Code:
M1Sample/OLIVER EMOZART MUCBOMLH 0123 236Z07A 0000 043>218 0000I 252201234567890
Sample/oliver is the name, mozart the PNR code, MUC-BOM LH123 the first flight on the reservation and 2201234567890 the ticket number.
And bingo you have a 2D code to show the CISF guard:
Since the codes are not encrypted and even don't bear a digital signature its easy to generate one yourself. IATA BCBS codes are based on the lowest common denominator standards that need to work even when the network is not available, so its not that complicated.