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

def set_pubkey(self, pkey):

    set_result = _lib.NETSCAPE_SPKI_set_pubkey(self._spki, pkey._pkey)
    if (not set_result):
        _raise_current_error()
