security.serialization

Secure serializer.

Module Contents

Classes

SecureSerializer(self,key=None,cert=None,cert_store=None,digest=”sha1”,serializer=”json”) Signed serializer.

Functions

register_auth(key=None,cert=None,store=None,digest=”sha1”,serializer=”json”) Register security serializer.
class SecureSerializer(key=None, cert=None, cert_store=None, digest="sha1", serializer="json")

Signed serializer.

__init__(key=None, cert=None, cert_store=None, digest="sha1", serializer="json")
serialize(data)

Serialize data structure into string.

deserialize(data)

Deserialize data structure from string.

_pack(body, content_type, content_encoding, signer, signature, sep=str_to_bytes)
_unpack(payload, sep=str_to_bytes)
register_auth(key=None, cert=None, store=None, digest="sha1", serializer="json")

Register security serializer.