You could name this generate_public_key_certificate_data and that would clarify to anyone that this cert only contains public key.

Also, we should use snake casing, not camel-casing, for method names. :)