security: In PublicKey, added a default constructor.
security: In Certificate, implemented more methods. Still need encode/decode.