def storeSelfSignedCertificate(self, domainName, mainCert):
        assert not isinstance(mainCert, str)
        return defer.maybeDeferred(self.remoteStore.__setitem__, domainName, mainCert)
@return: a Deferred which will fire when the certificate has been
dataset/ETHPy150Open twisted/vertex/vertex/q2q.py/DefaultCertificateStore.storeSelfSignedCertificate