Cyberplat libraries http://www.cyberplat.ru/download/api.zip
Just run make
in repo directory.
Signing message
./sign [message] [path to secret key] [secret key pass]
Verifying signed message
./verify [signed message] [path to CA key] [path to public key] [public key serial]