def __setitem__(self, key, cert):
        kn = cert.getSubject().commonName
        assert kn == key
        self.file(kn, 'wb').write(cert.dumpPEM())
dataset/ETHPy150Open twisted/vertex/vertex/q2q.py/_pemmap.__setitem__/original