'Set the subject of the certificate
:param subject: The subject name
:type subject: :py:class:`X509Name`
:return: None'

def set_subject(self, subject):

    return self._set_name(_lib.X509_set_subject_name, subject)
