Пример #1
0
class ContextFactory(object):
    def __init__(self, store):
        self._wrapped = _TOFUContextFactory(store)
        self._wrapper = SecureCiphersContextFactory(self._wrapped)


    def getContext(self):
        return self._wrapper.getContext()
Пример #2
0
 def __init__(self, store):
     self._wrapped = _TOFUContextFactory(store)
     self._wrapper = SecureCiphersContextFactory(self._wrapped)