UnwrapKeyResponse
in package
Response from the Tenant Security Proxy's unwrap key endpoint
Table of Contents
- $dek : Bytes
- __construct() : mixed
- fromResponse() : UnwrapKeyResponse
- Converts from a TSP response to an UnwrapKeyResponse.
- getDek() : Bytes
- Gets the document key sent back from the TSP.
Properties
$dek
private
Bytes
$dek
Methods
__construct()
public
__construct(Bytes $dek) : mixed
Parameters
- $dek : Bytes
-
Document key sent back from the TSP
Return values
mixed —fromResponse()
Converts from a TSP response to an UnwrapKeyResponse.
public
static fromResponse(string $response) : UnwrapKeyResponse
Parameters
- $response : string
-
Response from the TSP from the unwrap endpoint
Tags
Return values
UnwrapKeyResponse —A valid TSP unwrap key response
getDek()
Gets the document key sent back from the TSP.
public
getDek() : Bytes
Return values
Bytes —Document key sent back from the TSP