def get_names_from_csr(csr, typ=OpenSSL.crypto.FILETYPE_PEM):
 return _get_names_from_cert_or_req(csr, OpenSSL.crypto.load_certificate_request, typ)

def get_names_from_csr ( csr , typ = OpenSSL . crypto . FILETYPE_PEM ) : return _get_names_from_cert_or_req ( csr , OpenSSL . crypto . load_certificate_request , typ )
get a list of domains from a csr .