[DB-Struct] Implement some certificate types.
Implement store and load (with testcase)