A simple ECC certificate library