Documentation

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

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
throws
InvalidArgumentException

if the provided response is not an UnwrapKeyResponse

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

Search results