EncryptedDocument
in package
A set of fields which has been encrypted.
Table of Contents
- $edek : Bytes
- $encryptedFields : array<string|int, Bytes>
- __construct() : mixed
- getEdek() : Bytes
- getEncryptedFields() : array<string|int, Bytes>
Properties
$edek
private
Bytes
$edek
$encryptedFields
private
array<string|int, Bytes>
$encryptedFields
Methods
__construct()
public
__construct(array<string|int, mixed> $encryptedFields, Bytes $edek) : mixed
Parameters
- $encryptedFields : array<string|int, mixed>
- $edek : Bytes
Return values
mixed —getEdek()
public
getEdek() : Bytes
Return values
Bytes —An encrypted form of the DEK. This must be saved with the fields that were encrypted so it can be used to decrypt them later.
getEncryptedFields()
public
getEncryptedFields() : array<string|int, Bytes>
Return values
array<string|int, Bytes> —The fields that have now been encrypted.