Tokend library for EstEID smartcards