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