def storeSelfSignedCertificate(self, domainName, mainCert):
        assert not isinstance(mainCert, str)
        return defer.maybeDeferred(self.remoteStore.__setitem__, domainName, mainCert)
Goes through all allowed format validators and checks if the identifier is valid in at least one of them
dataset/ETHPy150Open twisted/vertex/vertex/q2q.py/DefaultCertificateStore.storeSelfSignedCertificate--crossover with--dataset/ETHPy150Open zalando/turnstile/turnstile/models/specifications.py/Specification.valid