method
public_key=
v2_1_10 -
Show latest stable
- Class:
OpenSSL::X509::Certificate
public_key=(p1)public
No documentation available.
static VALUE
ossl_x509_set_public_key(VALUE self, VALUE key)
{
X509 *x509;
GetX509(self, x509);
if (!X509_set_pubkey(x509, GetPKeyPtr(key))) { /* DUPs pkey */
ossl_raise(eX509CertError, NULL);
}
return key;
}