def signCertificateRequest(self, certificateRequest,
                               domainCert, suggestedSerial):
        keyz = certificateRequest.getSubject().keys()
        if keyz != ['commonName']:
            raise BadCertificateRequest(
                "Don't know how to verify fields other than CN: " %
                repr(keyz))
        newCert = domainCert.signRequestObject(
            certificateRequest,
            suggestedSerial)
        log.msg('signing certificate for user %s@%s: %s' % (
                self.username, self.domain, newCert.digest()))
        return newCert
dataset/ETHPy150Open twisted/vertex/vertex/q2q.py/DefaultQ2QAvatar.signCertificateRequest/operator `+` -> `%`