private?()
public
Returns whether this EC instance has a private key. The private key (BN) can be retrieved with EC#private_key.
static VALUE ossl_ec_key_is_private(VALUE self)
{
EC_KEY *ec;
GetEC(self, ec);
return EC_KEY_get0_private_key(ec) ? Qtrue : Qfalse;
}