When this is read back out, OpenSSL::PKey::RSA.new will ignore the contents of the public key. Writing this to a file and reading it back is a noop.