def set_pubkey(self, pkey):
set_result = _lib.X509_REQ_set_pubkey(self._req, pkey._pkey)<EOL>_openssl_assert(set_result == <NUM_LIT:1>)<EOL>
Set the public key of the certificate signing request.

:param pkey: The public key to use.
:type pkey: :py:class:`PKey`

:return: ``None``