A DigiDoc library for signing documents