Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/a/n/Anomos-HEAD/Anomos/track.py   Anomos(Download)
    t = Tracker(config, servercert, e.schedule)
    try:
        ctx = servercert.get_ctx(allow_unknown_ca=True,
                                 req_peer_cert=False,
                                 session="tracker")

src/a/n/Anomos-HEAD/tests/FakePeer.py   Anomos(Download)
    def __init__(self):
        self.cert = Anomos.Crypto.Certificate(ephemeral=True)
        self.ctx = self.cert.get_ctx(allow_unknown_ca=True)
        self.ctx.set_cipher_list('HIGH:!ADH:!MD5:@STRENGTH')
        self.sock = None