Method: OpenSSL::PKey::RSA#private?
- Defined in:
- ossl_pkey_rsa.c
#private? ⇒ Boolean
Does this keypair contain a private key?
193 194 195 196 197 198 199 200 201 |
# File 'ossl_pkey_rsa.c', line 193
static VALUE
ossl_rsa_is_private(VALUE self)
{
OSSL_3_const RSA *rsa;
GetRSA(self, rsa);
return RSA_PRIVATE(self, rsa) ? Qtrue : Qfalse;
}
|