DocumentParts
in package
A parsed IronCore encrypted document
Table of Contents
- $ciphertext : Bytes
- $header : Bytes
- $preamble : Bytes
- __construct() : mixed
- getCiphertext() : Bytes
- Gets the encrypted payload of the document.
- getHeader() : Bytes
- Gets the header of the document.
- getPreamble() : Bytes
- Gets the preamble of the document.
Properties
$ciphertext
private
Bytes
$ciphertext
$header
private
Bytes
$header
$preamble
private
Bytes
$preamble
Methods
__construct()
public
__construct(Bytes $preamble, Bytes $header, Bytes $ciphertext) : mixed
Parameters
- $preamble : Bytes
-
The first 7 bytes of the document
- $header : Bytes
-
The header of the document
- $ciphertext : Bytes
-
The encrypted payload of the document
Return values
mixed —getCiphertext()
Gets the encrypted payload of the document.
public
getCiphertext() : Bytes
Return values
Bytes —Encrypted document payload
getHeader()
Gets the header of the document.
public
getHeader() : Bytes
Return values
Bytes —Document header
getPreamble()
Gets the preamble of the document.
public
getPreamble() : Bytes
Return values
Bytes —Document preamble