public?()
public
Indicates whether this DSA instance has a public key associated with it or
not. The public key may be retrieved with DSA#public_key.
static VALUE
ossl_dsa_is_public(VALUE self)
{
DSA *dsa;
const BIGNUM *bn;
GetDSA(self, dsa);
DSA_get0_key(dsa, &bn, NULL);
return bn ? Qtrue : Qfalse;
}