Encapsulate public keys in CPubKey