security: Added PublicKey class (largely unimplemented).