Documentation

KmsException extends TenantSecurityException
in package

This exception indicates a problem with the Tenant Security Proxy talking to the KMS, or a problem with KMS keys.

Table of Contents

fromDecodedJson()  : TenantSecurityException
Converts from a JSON-decoded TSP error response to a TenantSecurityException.
fromResponse()  : TenantSecurityException
Converts from a TSP error response to a TenantSecurityException.

Methods

fromDecodedJson()

Converts from a JSON-decoded TSP error response to a TenantSecurityException.

public static fromDecodedJson(array<string|int, mixed> $decodedJson) : TenantSecurityException
Parameters
$decodedJson : array<string|int, mixed>

Decoded response from the TSP.

Return values
TenantSecurityException

TenantSecurityException associated with the TSP status coe.

Search results