register_auth
Register security serializer.
def register_auth(
key: string = None,
key_password: string = None,
cert: string = None,
store: string = None,
digest: string = DEFAULT_SECURITY_DIGEST,
serializer: string = 'json'
) - > null
Register security serializer.
Parameters
| Name | Type | Description |
|---|---|---|
| key | string = None | The private key used for signing messages. |
| key_password | string = None | The passphrase required to decrypt the private key. |
| cert | string = None | The certificate used for verifying message signatures. |
| store | string = None | The path to the file system certificate store. |
| digest | string = DEFAULT_SECURITY_DIGEST | The hashing algorithm used for message digests. |
| serializer | string = 'json' | The underlying serialization format, such as 'json' or 'pickle'. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the serializer is registered globally within the registry. |