'Sets the requestor\'s distinguished name.'

def subject_name(self, name):

    if (not isinstance(name, Name)):
        raise TypeError('Expecting    x509.Name    object.')
    if (self._subject_name is not None):
        raise ValueError('The    subject    name    may    only    be    set    once.')
    return CertificateBuilder(self._issuer_name, name, self._public_key, self._serial_number, self._not_valid_before, self._not_valid_after, self._extensions)
