Jose\Util\JWELoader::getRecipientEncryptedKey PHP Method

getRecipientEncryptedKey() private static method

private static getRecipientEncryptedKey ( array $data ) : null | string
$data array
return null | string
    private static function getRecipientEncryptedKey(array $data)
    {
        if (array_key_exists('encrypted_key', $data)) {
            return Base64Url::decode($data['encrypted_key']);
        }
    }