celery.security.serialization

celery.security.serialization

Secure serializer.

class celery.security.serialization.SecureSerializer(key=None, cert=None, cert_store=None, digest=’sha1’, serializer=’json’)[源代码]

  • deserialize(data)[源代码]

    deserialize data structure from string

  • serialize(data)[源代码]

    serialize data structure into string

celery.security.serialization.register_auth(key=None, cert=None, store=None, digest=’sha1’, serializer=’json’)[源代码]

register security serializer