Library for handling certificates and verifying them