Examples of usage#

The examples illustrated in this pages are based on the following configuration which is is instantiated in this JSON configuration file:

  • One rights context is defined: Can TRANSFORM.
  • Two processing contexts are defined: Protect and Deprotect.
  • The User.BirthDate data instance can be protected/deprotected using the "Birth date protection"/"Birth date protection" transformer sequences which are based on "Date tokenisation" transformers
  • The User.LastName data instance can be protected/deprotected using the "Last name searchable protection"/"Last name searchable deprotection" transformer sequences which are based on "AES based searchable encryption" transformers
  • The User.FirstName data instance can be protected/deprotected using the "First name simple protection"/"First name simple deprotection" transformer sequences which are based on "AES deterministic encryption" transformers
  • The Payment.Amount data instance can be protected using the "Payment amount randomization" transformer sequences which are based on "Number variance anonymization" transformers
  • The Payment.Date data instance can be protected using the "Payment amount randomization" transformer sequences which are based on "Probabilistic date anonymization" transformers

ProcessingContext.json#

Definition of the processing contexts as a .json file. Beware of the font case in javascript.

RightsContext.json#

Definition of the rights contexts as a .json file. Beware of the font case in javascript.

Simple usage#

Contexts provided by the resolver/json file#

Usage with dependencies#