to_pem()
See the OpenSSL documentation for PEM_write_bio_ECPrivateKey()
static VALUE ossl_ec_key_to_pem(VALUE self) { return ossl_ec_key_to_string(self, EXPORT_PEM); }