BatchUnwrapKeyResponse
in package
Response from the Tenant Security Proxy's batch unwrap key endpoint
Table of Contents
- $failures : array<string|int, TenantSecurityException>
- $keys : array<string|int, UnwrapKeyResponse>
- __construct() : mixed
- fromResponse() : BatchUnwrapKeyResponse
- getFailures() : array<string|int, TenantSecurityException>
- getKeys() : array<string|int, UnwrapKeyResponse>
Properties
$failures
private
array<string|int, TenantSecurityException>
$failures
$keys
private
array<string|int, UnwrapKeyResponse>
$keys
Methods
__construct()
public
__construct(array<string|int, UnwrapKeyResponse> $keys, array<string|int, TenantSecurityException> $failures) : mixed
Parameters
- $keys : array<string|int, UnwrapKeyResponse>
-
Successfully unwrapped DEKs
- $failures : array<string|int, TenantSecurityException>
-
Failures when attempting to unwrap DEKs.
Return values
mixed —fromResponse()
public
static fromResponse(string $response) : BatchUnwrapKeyResponse
Parameters
- $response : string
Return values
BatchUnwrapKeyResponse —getFailures()
public
getFailures() : array<string|int, TenantSecurityException>
Return values
array<string|int, TenantSecurityException> —Keys that failed to be unwrapped
getKeys()
public
getKeys() : array<string|int, UnwrapKeyResponse>
Return values
array<string|int, UnwrapKeyResponse> —Keys that were successfully unwrapped