delegations property

Map<String, Set<DelegationDto>> delegations
getter/setter pair

When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well

Implementation

Map<String, Set<DelegationDto>> delegations;