RekeyRequest
extends IronCoreRequest
in package
Request to the Tenant Security Proxy's re-key endpoint
Table of Contents
- $edek : string
- $metadata : RequestMetadata
- $newTenantId : string
- __construct() : mixed
- getJsonData() : string
- Gets the JSON-encoded form of the request payload.
- getPostData() : array<string|int, mixed>
- Method to get the request data as an associative array.
Properties
$edek
private
string
$edek
$metadata
private
RequestMetadata
$metadata
$newTenantId
private
string
$newTenantId
Methods
__construct()
public
__construct(RequestMetadata $metadata, Bytes $edek, string $newTenantId) : mixed
Parameters
- $metadata : RequestMetadata
-
Metadata about the re-key request
- $edek : Bytes
-
Encrypted document key to re-key
- $newTenantId : string
-
Tenant ID the document should be re-keyed to
Return values
mixed —getJsonData()
Gets the JSON-encoded form of the request payload.
public
final getJsonData() : string
Return values
string —JSON-encoded form of the request payload
getPostData()
Method to get the request data as an associative array.
public
getPostData() : array<string|int, mixed>
Return values
array<string|int, mixed> —Associative array containing all of the object's fields