src/OpenSSL/crypto.py
def set_pubkey(self, pkey):
        """
        Set the public key of the certificate

        :param pkey: The public key
        :return: ``None``
        """
        set_result = _lib.NETSCAPE_SPKI_set_pubkey(self._spki, pkey._pkey)
        _openssl_assert(set_result == 1)
def set_pubkey(self, pkey):
        set_result = _lib.NETSCAPE_SPKI_set_pubkey(self._spki, pkey._pkey)
        _openssl_assert(set_result == 1)
def set_pubkey ( self , pkey ) : set_result = _lib . NETSCAPE_SPKI_set_pubkey ( self . _spki , pkey . _pkey ) _openssl_assert ( set_result == 1 )
Set the public key of the certificate

        :param pkey: The public key
        :return: ``None``
Set the public key of the certificate