def decrypt(self, is_originator, uri, encrypted_payload):
            assert(type(uri) == six.text_type)
            assert(isinstance(encrypted_payload, EncryptedPayload))

            box = self._get_box(is_originator, uri)

            if not box:
                raise Exception("received encrypted payload, but can't find key!")

            payload_ser = box.decrypt(encrypted_payload.payload, encoder=Base64Encoder)

            if encrypted_payload.serializer != u'json':
                raise Exception("received encrypted payload, but don't know how to process serializer '{}'".format(encrypted_payload.serializer))

            payload = json.loads(payload_ser)

            uri = payload[u'uri']
            args = payload.get(u'args', None)
            kwargs = payload.get(u'kwargs', None)

            return uri, args, kwargs
Configure standard logging for the application. One ERROR level handler to stderr and one file handler with specified loglevelnum to logfile.
dataset/ETHPy150Open crossbario/autobahn-python/autobahn/wamp/cryptobox.py/KeyRing.decrypt--crossover with--dataset/ETHPy150Open securitykiss-com/rfw/rfw/config.py/set_logging