Converts the PublicKey object to a Protobuf PublicKey object.
the converted Protobuf PublicKey object