C++ code for working with Estonian ID-card (DO NOT USE FOR NEW PROJECTS)