PlaintextDocument
in package
A decrypted document.
Table of Contents
- $decryptedFields : array<string|int, Bytes>
- $edek : Bytes
- __construct() : mixed
- getDecryptedFields() : array<string|int, Bytes>
- getEdek() : Bytes
Properties
$decryptedFields
private
array<string|int, Bytes>
$decryptedFields
$edek
private
Bytes
$edek
Methods
__construct()
public
__construct(array<string|int, Bytes> $decryptedFields, Bytes $edek) : mixed
Parameters
- $decryptedFields : array<string|int, Bytes>
-
Decrypted fields of the document
- $edek : Bytes
-
Encrypted document key
Return values
mixed —getDecryptedFields()
public
getDecryptedFields() : array<string|int, Bytes>
Return values
array<string|int, Bytes> —Array of decrypted fields in raw byte form.
getEdek()
public
getEdek() : Bytes
Return values
Bytes —The encrypted document key that was sent to the TSP for decryption.